惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
量子位
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
博客园_首页
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC

DEV Community

I Built OpenKap — A Loom Alternative for Small Teams Who Just Want to Ship Gemma 4 is Here: The Dawn of Local Multimodal Reasoning Offline-First Flutter: How We Built a CRM That Manages 100K+ Leads With No Internet Memory for Agents: When Vectors Meet Graphs, Bugs Drop 4 The Rise of Production-Grade AI Infrastructure I ran my idea-validation product through its own validator. The verdict was PIVOT. We Built an Agent Commerce API. Google I/O 2026 Changed Our 3-Month Roadmap in 24 Hours. "My Partner's Memory Was Full. I Didn't Know — Until We Tried to Talk." Laravel Waiting Request I Built a Chrome Extension to Track How Long You Actually Spend on Each Tab Why Google Can't See Your React Breadcrumbs (And the 4-Line Fix) AI Travel Assistant Powered by Gemma 4; With Streaming, Image Input, and Visual Recommendation Cards Microsoft tried to kill the printer driver. Healthcare said no. The Blueprint Beneath the Blueprint: Designing Data Model and Choosing Its Database REST APIs vs Webhooks in Telecom Billing - Which One Actually Makes Sense? Accounting Made Simple: AI-Powered Financial Insights of Japanese Companies with Gemma 4 The append-only AST trick that makes Flutter AI chat actually smooth Designing the Future of Payments — Why XML Still Matters in the Age of APIs From Legacy to Live — Reviving XMLPayments with GitHub Copilot Two Weeks Into Learning Solana XMLPayments — The Hidden Backbone of Modern Financial Orchestration AI Agents in Practice — Read from the beginning Reviving My Gemma Agentic Framework: From Prototype to Polished Repo Smart Contracts Demand Better Infrastructure: Building on contract.dev Self-Hosted LLM Tool Calling: Forge and the Build-vs-Buy Decision ORA-00072 오류 원인과 해결 방법 완벽 가이드 OpenWA for CTOs: Self-Hosted WhatsApp Gateway Trade-Offs NotebookLM Automation With notebooklm-py: Useful, But Classify Data First Docker v29.5.x Operator Upgrade Checklist Coding-Agent Instruction Design: The CLAUDE.md File That Prevents Rework When I Finally Realized My Runtime Was Holding Me Back GnokeOps: Host Your Own AI House Party The Death of Static Rate Limiters: Why Your Java Virtual Threads Need BBR-Style Adaptive Concurrency AI Agents in Practice — Part 2: What Makes Something an Agent Stop scattering LLM SDK/API calls across your codebase. Here is the 2-file rule that fixed mine Beyond Prompts: Structuring AI Workflows for Real Frontend Engineering From an Abandoned Hackathon Project to an AI Study Workspace 🚀 Terraform with AI: Build AWS Infra (Cursor + MCP) What If AI Didn’t Need the Internet? 750,000 Chips, 140 Trillion Tokens: The Math Behind DeepSeek's Permanent Price Cut You're Renting Someone Else's Compute — And It's Costing You More Than You Think CSS :has() Selector: The Layout Trick I Wish I Knew 5 Years Ago Five Clusters. Five Lessons. One Production System. Synaptic: A Local-First AI Dev Companion That Remembers How You Think Revolutionizing Edge MedTech: Building a Sovereign Sleep Apnea Companion ("XiHan Snore Coach") with Gemma 4 HDD Eksternal Tiba-Tiba Tidak Bisa Diakses di Windows? Ini Tiga Lapis Fix-nya DMARC p=none vs p=quarantine vs p=reject: what to use and when DSA Application in Real Life: How Git Diff Works: LCS Intuition, Myers Algorithm, and Real Code Changes I solo-built a reputation layer for AI agents on NEAR — and here's what I learned I built an AI faceless video generator in 2 months — here's the stack
我是一名前端网页开发者,正在从零开始学习机器学习
Elchin Nasir · 2026-05-23 · via DEV Community
Cover image for I’m a Front End Web Developer Learning Machine Learning From Scratch

Elchin Nasirov

嘿,

我是一名网页开发者,使用React、TypeScript、Tailwind以及现代网页工具构建用户界面。几个月前,我决定踏入机器学习领域。
没有先前的机器学习背景。只是出于好奇心和基本的Python知识。我开始学习Andrew Ng的机器学习专项课程,并制定了自己的学习计划。这是最初30天的情况——我理解的概念、犯的错误以及最让我惊讶的事情。

第一周:构建数学基础
我从先修课程开始,因为它们是必不可少的:

  • 线性代数(向量、矩阵、特征值)
  • 微积分(导数、偏导数、梯度)
  • 概率&统计

概念:为什么梯度很重要
梯度下降是几乎所有现代机器学习背后的引擎.
想象一下,你在黑暗中试图到达山谷的底部。梯度告诉你斜坡的方向和陡峭程度。你向下走一小步.

(w = w - learning_rate * gradient)

全屏模式 退出全屏模式

重复直到达到最小值.
这个简单想法驱动着神经网络、线性回归等,

第2-3周:监督学习(真正的乐趣开始)
我深入研究了回归和分类:

  • 线性&多元线性回归
  • 逻辑回归用于分类
  • 成本函数,梯度下降,正则化,特征缩放,softmax

我在Colab上构建了小型项目:

  • 房价预测器(线性回归)
  • 垃圾邮件分类器(逻辑回归)

概念:正则化
正则化就像给你的模型加上护栏。没有它,模型会记住训练数据中的噪声(过拟合)。使用L2正则化,我们会惩罚大的权重,帮助模型更好地泛化。

第4-5周:神经网络&树集成
这很令人兴奋:

  • 我在TensorFlow中构建了我的第一个神经网络(前向传播+反向传播)
  • 学习了决策树、随机森林和XGBoost

概念:反向传播
前向传播做出预测。
反向传播确定了为什么 预测是错误的,并使用链式法则相应地更新每个权重。这就像通过一系列 React 组件追踪一个错误——但针对的是数千个参数。

最让我惊讶的是什么

  1. 当我看到它在实际模型中使用时,数学终于变得有道理了。
  2. 建立小型项目 > 被动观看。
  3. 机器学习与网页开发是强大的组合——我已经能想象将这些模型转化为真实的网页功能了。

接下来呢?
我正在继续计划:

  • 更多的神经网络练习
  • 完整的迷你项目
  • 课程3(无监督学习)

我会在这里分享定期更新——代码、课程和笔记本。如果你也是作为一名网页开发者在学习机器学习,请留言。我也想听听你的学习之旅!