Foundations

ML Fundamentals

Neural networks, backpropagation, gradient descent — the maths behind AI

11,573
lessons
Skills in this topic
View full skill map →
ML Maths Basics
beginner
Manipulate vectors and matrices
Supervised Learning
beginner
Train decision trees, random forests, and neural nets
Unsupervised Learning
intermediate
Apply k-means and DBSCAN clustering
ML Pipelines
intermediate
Engineer features and handle missing data
All Reads (3,264) Articles (1864)Blog Posts (733)Tutorials (543)Research Papers (120)News (4)
You Don’t Need Maths to Be a Good Programmer — But That’s Not the Full Truth
Dev.to · Segun 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
You Don’t Need Maths to Be a Good Programmer — But That’s Not the Full Truth
There’s a popular statement in tech: “You don’t need maths to be a good programmer.” It’s often said...
I Solved 512+ LeetCode Problems, and Here’s What I Learned 🧠
Dev.to · Gregory 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
I Solved 512+ LeetCode Problems, and Here’s What I Learned 🧠
Hi everyone, my name is Greg. I've been working in web development since 2020. A few years ago, I...
KV cache eviction improves long‑context performance
Dev.to · Papers Mache 📐 ML Fundamentals 📄 Paper ⚡ AI Lesson 1mo ago
KV cache eviction improves long‑context performance
A learned, globally‑calibrated KV‑cache eviction policy can shave memory usage and, paradoxically,...
Multi-Head Latent Attention (MLA)
Dev.to · Sirajuddin Shaik 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Multi-Head Latent Attention (MLA)
Compressing KV cache via low-rank projections — the attention mechanism behind DeepSeek-V2/V3 and...
Stop Trusting Your Accuracy Score: A Practical Guide to Evaluating Logistic Regression Models
Dev.to · Gervais Yao Amoah 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Stop Trusting Your Accuracy Score: A Practical Guide to Evaluating Logistic Regression Models
"Accuracy lied to you. Here's the complete toolkit—confusion matrix, precision, recall, F1, ROC/AUC,...
I’m a Front End Web Developer Learning Machine Learning From Scratch
Dev.to · Elchin Nasirov 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
I’m a Front End Web Developer Learning Machine Learning From Scratch
Hey, I'm a web developer - building UIs with React, TypeScript, Tailwind, and modern web tools. A...
Building an “Internet Personality Predictor” using Machine Learning 🤖
Dev.to · Suraj Developer 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Building an “Internet Personality Predictor” using Machine Learning 🤖
Building an “Internet Personality Predictor” using Machine Learning 🤖 I’m currently working on a fun...
Debiasing Graph Neural Networks for Recommendation with Causal RL
Dev.to · Tasfin Mahmud 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Debiasing Graph Neural Networks for Recommendation with Causal RL
How to use Inverse Propensity Scoring and Causal Embeddings to fix popularity bias in GNN recommender systems.
Floating-point will quietly corrupt your emissions math, and 0.1 + 0.2 already warned you
Dev.to · Jeremiah Say 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Floating-point will quietly corrupt your emissions math, and 0.1 + 0.2 already warned you
Every developer has seen this: 0.1 + 0.2 // 0.30000000000000004 Enter fullscreen mode ...
Building a semantic search API in Go with Meilisearch
Dev.to · Ayi NEDJIMI 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Building a semantic search API in Go with Meilisearch
Full-text search is one of those features that looks simple until you have to ship it. Typos fail...
Why One Model Is Never Enough: Routing Incident Analysis With cascadeflow
Dev.to · Riddhiman 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Why One Model Is Never Enough: Routing Incident Analysis With cascadeflow
# Why One Model Is Never Enough: Routing Incident Analysis With cascadeflow The first time our...
How to Scale AI Development Beyond Prototype Speed
Dev.to · Oyedele Temitope 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
How to Scale AI Development Beyond Prototype Speed
One thing that isn't talked about enough in AI right now is how easy it has become to mistake a...
16 Python Libraries You Should Know
Dev.to · Shefali 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
16 Python Libraries You Should Know
Python libraries make development much easier because you don’t have to build everything from...
Our AI Inference Bill Dropped 65% After We Stopped Treating Every Query the Same
Dev.to · Karthik S 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Our AI Inference Bill Dropped 65% After We Stopped Treating Every Query the Same
Every query hitting our AI layer was going straight to the most powerful model we had. A user...
AI is heading toward a wall, and most people still don’t see it...
Dev.to · Gary Doman/TizWildin 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
AI is heading toward a wall, and most people still don’t see it...
AI is heading toward a wall most people still don’t see: Inference cost. Memory...
vite HMR is silently the reason ur laptop fan wont stop
Dev.to · BaoDev Studio 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
vite HMR is silently the reason ur laptop fan wont stop
ur working on a react app. ur fan kicks on. u assume chrome is the culprit, or slack, or the LSP....
X's Feed Ranking Algorithm: How Grok Ranks 500M Posts in 200ms
Dev.to · Ramsis Hammadi 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
X's Feed Ranking Algorithm: How Grok Ranks 500M Posts in 200ms
X's Feed Ranking Algorithm: How Grok Ranks 500M Posts in 200ms TL;DR...
Moving AI From Notebook to Production: Where Most Builders Get Stuck
Dev.to · Nometria 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Moving AI From Notebook to Production: Where Most Builders Get Stuck
Why Your AI-Built App Breaks at Scale (And How to Fix It) You built something in Lovable...
The Rust Sidecar Pattern: Fixing Python AI's Deployment Weakness
Dev.to · pickuma 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
The Rust Sidecar Pattern: Fixing Python AI's Deployment Weakness
Python dominates ML development but struggles in production serving. The Rust sidecar pattern splits responsibilities: Python handles models, Rust owns the hot
Interview Sheet Q1:- 1. Two Sum
Dev.to · shipra Shankhwar 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Interview Sheet Q1:- 1. Two Sum
LeetCode: Two Sum Given an array nums and a target, return indices of two numbers such...
Counting tokens is dumb. So we built a free metric for AI proficiency.
Dev.to · Charlie Graham 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Counting tokens is dumb. So we built a free metric for AI proficiency.
We’ve been trying to figure out a real answer to a question that keeps coming up: how do you measure...
Chat with your database in plain English — locally, for free
Dev.to · retrovirusretro 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Chat with your database in plain English — locally, for free
"What were our top 10 customers last quarter by revenue, as a bar chart?" DB-GPT translates that to...
How I set up Sanity TypeGen for fully typed GROQ queries in TypeScript
Dev.to · Nayan Kyada 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
How I set up Sanity TypeGen for fully typed GROQ queries in TypeScript
A step-by-step guide to Sanity TypeGen: CLI config, generating TypeScript types from GROQ queries, CI integration, and handling schema evolution gotchas.
PHP fun: Lean theorem in PHP
Dev.to · david duymelinck 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
PHP fun: Lean theorem in PHP
In following post I saw Designing Reliable Permission Models with Lean 4 ...
LeNet-5: A Visual Guide
Dev.to · Sergiy Bondaryev 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
LeNet-5: A Visual Guide
An interactive guide to the neural network that learned to read handwritten digits. Draw a digit and...
Keyless Deep Learning Steganography: Replacing Spread Spectrum Keys with CNNs 🕵️‍♂️
Dev.to · Anjasfedo 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Keyless Deep Learning Steganography: Replacing Spread Spectrum Keys with CNNs 🕵️‍♂️
Imagine hiding a secret message inside the high-frequency details of an image, transmitting it, and...
The Synthetic Data Trap: When It Helps, When It Lies
Dev.to · The Forward Pass 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
The Synthetic Data Trap: When It Helps, When It Lies
This article originally appeared in The Forward Pass, a weekly newsletter for ML engineers who ship....
Optuna Tutorial: Automate Hyperparameter Tuning for ML Models in Python
Dev.to · pickuma 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Optuna Tutorial: Automate Hyperparameter Tuning for ML Models in Python
How Optuna's define-by-run API, TPE sampler, and pruners automate hyperparameter tuning for scikit-learn, PyTorch, and TensorFlow models, with runnable Python c
Optimizing Cement Kiln Heat Consumption: A Process Engineer’s Python Approach
Dev.to · Aminuddin M Khan 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Optimizing Cement Kiln Heat Consumption: A Process Engineer’s Python Approach
For over three decades, my world revolved around the deafening roar of industrial fans, the intense...
Cx Dev Log — 2026-05-07
Dev.to · COMMENTERTHE9 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Cx Dev Log — 2026-05-07
JIT Backend: Cracking the Realness Code Back-edge sealing, assert native lowering, and functional...
Why I Chose Hard Math Over AI for a 38,000 Ticker Financial Engine
Dev.to · Alex Vance 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Why I Chose Hard Math Over AI for a 38,000 Ticker Financial Engine
A technical look at building a deterministic compounding engine with Next.js 15, handling tax-drag logic, and why LLMs are the wrong tool for financial forecast
Recursion Isn’t Hard. The Call Stack Is Invisible
Dev.to · N Satyadev 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Recursion Isn’t Hard. The Call Stack Is Invisible
Ever went through a simple DFS code and went "I would rather beat an old lady with a stick"? That...
What AI Really Is — From Turing Test to Deep Learning
Dev.to · zeromathai 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
What AI Really Is — From Turing Test to Deep Learning
AI is not just chatbots or neural networks. It is a long-running attempt to answer one...
How RNNs Work — Remembering Previous States in Sequential Data
Dev.to · zeromathai 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
How RNNs Work — Remembering Previous States in Sequential Data
A normal neural network treats each input mostly as a fixed snapshot. But many problems are not...
Class Imbalance — Deep Dive + Problem: Normalize Image
Dev.to · pixelbank dev 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Class Imbalance — Deep Dive + Problem: Normalize Image
A daily deep dive into ml topics, coding problems, and platform features from PixelBank. ...
What Production ML Systems Taught Me About AI Hallucinations
Dev.to · Mansi Somayajula 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
What Production ML Systems Taught Me About AI Hallucinations
Most discussions about AI hallucinations stay at the chatbot level. “ChatGPT made up a legal...
Predictive operations for BFSI Banking: delay prediction, risk scoring, leakage prevention, and recovery
Dev.to · Ananthapathmanabhan A 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Predictive operations for BFSI Banking: delay prediction, risk scoring, leakage prevention, and recovery
Predictive operations for BFSI Banking: delay prediction, risk scoring, leakage prevention, and...
ML-KEM Is Already In Your Browser. Here's How It Actually Works.
Dev.to · Niklas 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
ML-KEM Is Already In Your Browser. Here's How It Actually Works.
A deep-dive into ML-KEM (FIPS 203), the post-quantum key exchange now shipping in Chrome, AWS, and the Linux kernel. Rings, lattices, MLWE, Encaps, Decaps, and
The Boring AI Is the Right AI
Dev.to · André Ahlert 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
The Boring AI Is the Right AI
At the AI Engineer Summit 2025 in New York, the mantra that got repeated from stage after stage was...
Merge Sort vs Bubble Sort — Why 800 Comparisons Beats 147 Every Time
Dev.to · Amar Gul 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Merge Sort vs Bubble Sort — Why 800 Comparisons Beats 147 Every Time
Most developers know Merge Sort is faster than Bubble Sort. But watching it happen makes the...
LeetCode Solution: 20. Valid Parentheses
Dev.to · Vansh Aggarwal 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
LeetCode Solution: 20. Valid Parentheses
The Great Parentheses Puzzle: Cracking LeetCode 20 with Stacks! Hey there, future coding...
Blocking Secrets Before They Hit the Repository: Building a Pre-Commit Hook With ML
Dev.to · Patience Mpofu 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Blocking Secrets Before They Hit the Repository: Building a Pre-Commit Hook With ML
here are two places you can catch an exposed secret. After it's in the repository — in a CI/CD...
Bigger AI models aren't always better. Here's how to actually choose.
Dev.to · Rohini Gaonkar 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Bigger AI models aren't always better. Here's how to actually choose.
In the previous post, I showed you two models answering the same question. One hallucinated...
Building a Production MCP Server in TypeScript: 5 Gotchas the Tutorials Skip
Dev.to · Andrew Vaughey 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Building a Production MCP Server in TypeScript: 5 Gotchas the Tutorials Skip
The Model Context Protocol went from ~2M monthly SDK downloads at launch in November 2024 to...
Visualizing Why Standardization Changes Decision Boundaries
Dev.to · hqqqqy 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Visualizing Why Standardization Changes Decision Boundaries
My SVM decision boundary looked perfect until I forgot to scale one feature. Here's a visual explanation of why standardization matters for classification.
Building Shruthi Bandhu: How We Engineered an AI Gesture Tool for the Deaf-Mute Community (And Won the Vishwakarma Awards)
Dev.to · SHAIK TAUFEEQ AHMAD 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Building Shruthi Bandhu: How We Engineered an AI Gesture Tool for the Deaf-Mute Community (And Won the Vishwakarma Awards)
Some wins take time. Over the past year, I’ve walked out of innovation halls with more lessons than...
Deterministic OCR in JavaScript: PaddleOCR for Node, Bun, Deno, and the Browser
Dev.to · Awal Ariansyah 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Deterministic OCR in JavaScript: PaddleOCR for Node, Bun, Deno, and the Browser
A fast, lightweight PaddleOCR SDK that runs in every JavaScript runtime. Built on PP-OCRv5 and ONNX Runtime, with WebGPU acceleration, INT8 quantization, and 40
Out of curiosity, how did a lot of you start?
Dev.to · libre-main 📐 ML Fundamentals ⚡ AI Lesson 1mo ago
Out of curiosity, how did a lot of you start?
Being as new to this world as I am, I want to know how other people started out in computer sciences...