Foundations

ML Fundamentals

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

20,317
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 (12,002) Articles (5312)Blog Posts (2382)Tutorials (1048)Research Papers (2902)News (358)
The Room Migration Mistake That Crashed Every User's App
Dev.to · SuriDevs 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
The Room Migration Mistake That Crashed Every User's App
I crashed every existing user of my QR scanner app with one bad Room migration — added a label field,...
Avoiding Common Pitfalls in AI-Powered Predictive Analytics Implementation
Dev.to · Edith Heroux 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Avoiding Common Pitfalls in AI-Powered Predictive Analytics Implementation
Common Pitfalls in AI-Powered Predictive Analytics and How to Avoid Them As the e-commerce...
How to Implement AI-Powered Predictive Analytics in Your E-Commerce Strategy
Dev.to · jasperstewart 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
How to Implement AI-Powered Predictive Analytics in Your E-Commerce Strategy
Step-by-Step Guide to Implementing AI-Powered Predictive Analytics Implementing AI-Powered...
55. Multiple Regression: More Features, More Power (And More Ways to Break Things)
Dev.to · Akhilesh 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
55. Multiple Regression: More Features, More Power (And More Ways to Break Things)
In the last post, you predicted house prices using one feature. One number in, one number out. Real...
MCP Explained Simply: How AI Talk to Your Data
Dev.to · Md Shahjalal 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
MCP Explained Simply: How AI Talk to Your Data
Hello friends Today I want to share something I’m currently learning — MCP (Model Context...
TSP - Travelling Salesman Problem
Dev.to · João Godinho 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
TSP - Travelling Salesman Problem
Introduction I will talk about P vs NP, NP-complete, and NP-hard, define heuristics in...
I built a distributed compute grid where your idle laptop runs ML jobs — here's the architecture
Dev.to · Aman Sachan 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
I built a distributed compute grid where your idle laptop runs ML jobs — here's the architecture
The Problem Most personal computers sit idle 90% of the time. Meanwhile, ML training and...
🌿 Plant Disease Detection System
Dev.to · Somnath Das 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
🌿 Plant Disease Detection System
Agriculture is the backbone of many economies, yet plant diseases continue to cause massive crop...
Migrating a Single-Tenant SaaS to Multi-Tenant Workspaces with EF Core Global Query Filters
Dev.to · Nicolas Florez 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Migrating a Single-Tenant SaaS to Multi-Tenant Workspaces with EF Core Global Query Filters
TL;DR We had a single-tenant Angular + .NET 10 SaaS where every row was scoped by UserId....
I Built My Own Hands-on AI Tutorial – Chapter 1: Regression (From Scratch + XGBoost)
Dev.to · zkaria gamal 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
I Built My Own Hands-on AI Tutorial – Chapter 1: Regression (From Scratch + XGBoost)
A few weeks ago, I revisited my old AI/ML projects. As I looked through the code, I felt something...
The real problem with ingesting MongoDB into Delta Lake (and how I built a library to fix it)
Dev.to · Luiz Oliveira 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
The real problem with ingesting MongoDB into Delta Lake (and how I built a library to fix it)
If you've ever built ETL pipelines pulling data from MongoDB into Delta Lake using Spark, you've...
Writing Effective Unit Tests: Best Practices
Dev.to · GeekyAnts Inc 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Writing Effective Unit Tests: Best Practices
Master unit testing in JavaScript with Jest. Learn AAA pattern, mocking, isolation, test coverage,...
53. Overfitting: When Your Model Is Too Good at Being Wrong
Dev.to · Akhilesh 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
53. Overfitting: When Your Model Is Too Good at Being Wrong
Series: How Machines Learn: A Complete Guide from Zero to AI Engineer Phase 6: Machine Learning (The...
From Kubeflow to Real-World ML: Why Data Locality Matters Just as Much as Compute
Dev.to · David Aronchick 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
From Kubeflow to Real-World ML: Why Data Locality Matters Just as Much as Compute
From Kubeflow to Real-World ML: Why Data Locality Matters More Than Compute When my...
Why Your 'AI-Ready' Data Isn't: The Hidden Pipeline Problem Breaking Production AI
Dev.to · David Aronchick 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Why Your 'AI-Ready' Data Isn't: The Hidden Pipeline Problem Breaking Production AI
The names have been changed to protect the innocent. :) A Fortune 500 retailer spent $5 million on...
The Loop Is Only as Good as the Metric
Dev.to · David Aronchick 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
The Loop Is Only as Good as the Metric
On Thursday I wrote about Karpathy's autoresearch, the 630-line training loop that runs 100 ML...
Simon Willison's Blog 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
TRE Python binding — ReDoS robustness demo
Research: TRE Python binding — ReDoS robustness demo If it's good enough for antirez to add to Redis I figured Ville Laurikari's TRE regular expression engine w
Parallel RNNs?
Dev.to · Denis 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Parallel RNNs?
Did you check out the recent ICLR results? I got intrigued by a rather provocative paper from Apple -...
I Built an AI That Predicts Medical Specialties from Clinical Notes (End-to-End Deployment)
Dev.to · Sheikh Sadi Asif 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
I Built an AI That Predicts Medical Specialties from Clinical Notes (End-to-End Deployment)
Hey DEV community 👋 I recently built and deployed a full-stack AI system that predicts medical...
Why AI Projects Break After Deployment
Dev.to · Scott McMahan 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Why AI Projects Break After Deployment
A lot of machine learning models perform well in development but fail once they reach production....
Linear Regression: Code (a) Line
Dev.to · the_undefined_architect 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Linear Regression: Code (a) Line
It's time to write your first ML model and predict house prices. To follow along, go ahead and take a...
AI Commerce Needs MLPerf — and Here's an Early Attempt
Dev.to · Benji Fisher 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
AI Commerce Needs MLPerf — and Here's an Early Attempt
Validating a UCP manifest takes a second. Scoring it for agent-readiness takes another. Neither of...
Dimensionality Reduction in Machine Learning: PCA and t-SNE.
Dev.to · Kelvin 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Dimensionality Reduction in Machine Learning: PCA and t-SNE.
Dimensionality reduction is a fundamental concept in machine learning used to reduce the number of...
I Built an AI That Detects Pneumonia From Chest X-Rays Here's Exactly How I Did It
Dev.to · Sheikh Sadi Asif 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
I Built an AI That Detects Pneumonia From Chest X-Rays Here's Exactly How I Did It
A few weeks ago, I shipped PneumoScan AI a deep learning model that analyzes chest X-ray images and...
Understanding Data Types in Python
Dev.to · Gamya 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Understanding Data Types in Python
Python Basics #2 🐍🔥 In the previous article of this Python Basics series, we learned about...
CloudSync MLBridge: Bridging Google Cloud Datastore and BigQuery with ML-Powered Sync
Dev.to · Raghava Chellu 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
CloudSync MLBridge: Bridging Google Cloud Datastore and BigQuery with ML-Powered Sync
If you've built production systems on Google Cloud, you've likely hit the same wall: your operational...
🏈 TensorCraft Playbook: De CNNs de Sala de Aula a Cloud TPUs com Keras
Dev.to · Ahirton Lopes 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
🏈 TensorCraft Playbook: De CNNs de Sala de Aula a Cloud TPUs com Keras
📖 Capítulo 1: A Formação de Ataque (Arquitetura CNN) Toda estratégia vencedora exige fundamentos...
Day 5/75: Prefix sums in Go - Go DSA
Dev.to · Naveen Karasu 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Day 5/75: Prefix sums in Go - Go DSA
A focused walkthrough of prefix sums in go built around using a stable invariant so prefix sums in go feels like a process instead of a trick.
Building an AI-Powered Prediction Engine for Racing Data: A Developer's Journey
Dev.to · Ali Can 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Building an AI-Powered Prediction Engine for Racing Data: A Developer's Journey
As developers, we are always looking for interesting datasets to test our machine learning skills....
War Story: Debugging a TypeScript 5.7 Type Error in 500k Lines of React 19 Code
Dev.to · ANKUSH CHOUDHARY JOHAL 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
War Story: Debugging a TypeScript 5.7 Type Error in 500k Lines of React 19 Code
War Story: Debugging a TypeScript 5.7 Type Error in 500k Lines of React 19 Code It was 4...
AI-Based Agriculture Image Classification System using Deep Learning
Dev.to · Mogalluru Pavan 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
AI-Based Agriculture Image Classification System using Deep Learning
🌿 Introduction Agriculture plays a vital role in our daily life. Farmers often face...
LeetCode Solution: 74. Search a 2D Matrix
Dev.to · Vansh Aggarwal 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
LeetCode Solution: 74. Search a 2D Matrix
LeetCode 74: Search a 2D Matrix - Conquer the Grid with Binary Search! Hey fellow coders...
IRIS Dockerization and Embedded Python for Data Science — One-Command Setup for Reproducible ML Workflows
Dev.to · InterSystems Developer 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
IRIS Dockerization and Embedded Python for Data Science — One-Command Setup for Reproducible ML Workflows
1-command only required for an entire IRIS instance for Data Science projects, and leveraging this to...
Linear and Beads: How to Prevent Your AI from Getting Alzheimer's
Dev.to · Fernando Rodriguez 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Linear and Beads: How to Prevent Your AI from Getting Alzheimer's
When robots forget Imagine hiring a brilliant programmer. They solve complex problems,...
Machine Learning Developers: Why Most ML Projects Fail After the Model Stage
Dev.to · Dixit Angiras 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Machine Learning Developers: Why Most ML Projects Fail After the Model Stage
Training a model is easy. Getting 85–90% accuracy in a notebook? Also doable. But getting that model...
Unsupervised Machine Learning. K-Means & Hierarchical Clustering
Dev.to · Kelvin 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Unsupervised Machine Learning. K-Means & Hierarchical Clustering
Unsupervised machine learning is a branch of machine learning where models are trained on data...
How we measured 99.6% token reduction across 15 task-runs
Dev.to · J. Gravelle 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
How we measured 99.6% token reduction across 15 task-runs
Two months after publishing the headline, here are the receipts. Two months ago I...
I finally understood compound interest by writing 8 lines of JavaScript
Dev.to · levent çelik 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
I finally understood compound interest by writing 8 lines of JavaScript
Compound interest is one of those concepts I had nodded along to since high school without really...
Mutation Testing in .NET 10
Dev.to · Christian Alt-Wibbing 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Mutation Testing in .NET 10
Why your tests might be lying to you and how to catch them I've seen projects with 90%...
software engineers are becoming reliability engineers for generated output
Dev.to · Paulo Victor Leite Lima Gomes 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
software engineers are becoming reliability engineers for generated output
The more generated output enters production paths, the more software engineers become the human reliability layer for systems that still bluff, drift, and break
Understanding Variables
Dev.to · Gamya 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Understanding Variables
If you're starting your Python journey, one of the very first things you'll encounter is...
Inside Diffusion Models: Why They Replaced GANs
Dev.to · Vishal Uttam Mane 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Inside Diffusion Models: Why They Replaced GANs
Generative modeling has undergone a major shift in recent years, moving from adversarial training...
The Complete Guide to Document Parsing in 2026
Dev.to · Iteration Layer 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
The Complete Guide to Document Parsing in 2026
From regex to AI extraction — the complete guide to parsing documents programmatically. Methods, tools, and code examples.
Understanding Transformers – Part 16: Preparing for Output Prediction with Residual Connections
Dev.to · Rijul Rajesh 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Understanding Transformers – Part 16: Preparing for Output Prediction with Residual Connections
In the previous article, we handled values in encoder-decoder attention, now we will simplify the...
Chapter 10: Multi-Head Attention and the MLP Block
Dev.to · Gary Jackson 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Chapter 10: Multi-Head Attention and the MLP Block
Run several attention heads in parallel on embedding slices, add a two-layer MLP for per-position computation, and assemble a transformer block.
Human in the Loop: Using Confidence Scores to Build Reliable Document Extraction
Dev.to · Iteration Layer 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Human in the Loop: Using Confidence Scores to Build Reliable Document Extraction
Why Fully Automated Extraction Fails Every document extraction project starts with the...
Part 4: Edge Deployment of an 86M Parameter Audio Transformer
Dev.to · syamaner 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Part 4: Edge Deployment of an 86M Parameter Audio Transformer
Post 3 ended with three numbers: 97.4% test accuracy, 100% precision, 0 false positives. All of it...
Opus 4.7 vs GLM 5.1: is mixing models worth it?
Dev.to · Edy Silva 📐 ML Fundamentals ⚡ AI Lesson 2mo ago
Opus 4.7 vs GLM 5.1: is mixing models worth it?
A couple of months ago, I compared Opus vs GLM by having both of them do a task for me. It’s not that...