Learning Machine Learning articles

FoundationsMachine Learning for Programmers: What Changes When Rules Come From DataHow your code, tests, bugs and releases change when a program's behavior is fitted from examples instead of written by hand.FoundationsFeatures, Labels and Examples: The Vocabulary of a Learning ProblemLearn what examples, features, labels and targets mean, how they map to arrays and shapes, and the traps hidden in each choice.FoundationsHypothesis Spaces: What a Model Is Allowed to LearnUnderstand the set of functions a learning algorithm can choose from, why its size matters, and how it splits model error into parts.FoundationsLoss Functions as the Definition of What a Model Should Get RightSee how squared, absolute, quantile, log and hinge losses each ask a model a different question, with worked numbers for each.FoundationsTraining Error and Generalization Error: The Gap That MattersWhy training scores flatter a model, how held-out data estimates real error, and how much uncertainty that estimate carries.FoundationsOverfitting and Underfitting Diagnosed With Worked ExamplesSpot overfitting and underfitting from real numbers, using a polynomial experiment you can run, and learn which fix matches which symptom.FoundationsThe Bias-Variance Tradeoff Derived and IllustratedFollow a step-by-step derivation of expected squared error into noise, bias and variance, then check it with a worked numerical example.FoundationsInductive Bias: The Assumptions Every Learner Has to MakeWhy data alone cannot decide what happens on new inputs, which assumptions common models build in, and how to choose them on purpose.FoundationsNo Free Lunch Theorems and What They Do Not SayA plain account of the no free lunch results for learning and search, with a small proof you can follow and the common overreadings.FoundationsParametric and Nonparametric Models ComparedLearn how models with a fixed parameter count differ from those that grow with data, in assumptions, cost, data needs and extrapolation.FoundationsDiscriminative Versus Generative ClassifiersCompare classifiers that model the boundary with those that model how data arises, using Bayes' rule, a worked spam case and clear trade-offs.FoundationsThe Stages of a Machine Learning Project From Question to MonitoringWalk through every stage of a machine learning project, what each one should produce and the checks that tell you whether to continue or go back.FoundationsA First End-to-End Model on Tabular Data, Step by StepBuild a complete churn model in Python, from inspecting a table through leak-free preprocessing, cross-validation and one final test.FoundationsParameters and Hyperparameters: Who Sets WhatLearn which numbers training fits and which you choose, how to search for good settings and why the choice must be made on held-out data.FoundationsTraining, Validation and Test Sets and the Job of EachUnderstand what each data split is for, how to create splits that mirror real use and how a test set quietly loses its value.FoundationsReading a Learning Curve to Decide What to Do NextUse training and validation curves to decide whether to gather more data, change the model, fix the optimizer or look for a bug.FoundationsError Analysis: Learning From the Examples a Model Gets WrongA step-by-step way to read model mistakes, group them, estimate what fixing each group is worth and choose your next experiment.FoundationsHow to Debug a Model That Will Not Learn AnythingA systematic routine for finding why training loss will not fall, from data checks and baseline losses to gradients and silent shape bugs.FoundationsRandom Seeds and Why Two Training Runs DisagreeFind every source of randomness in a training run, control what you can, and measure seed variation before you believe a gain.FoundationsTwelve Beginner Mistakes in Machine Learning and How to Catch ThemTwelve common errors in data handling, evaluation and training, each with a symptom to watch for and a concrete test that exposes it.FoundationsEmpirical Risk Minimization: The Principle Behind Most TrainingSee what training minimizes, why average loss on a sample can stand in for future loss, and where that substitution breaks down.FoundationsPAC Learning Explained With a Simple ExampleLearn what probably approximately correct means by learning a threshold, deriving the sample size, and checking it by simulation.FoundationsVC Dimension and the Capacity of a ClassifierUnderstand shattering, work out the VC dimension of simple classifiers, and see what it does and does not say about generalization.FoundationsSample Complexity: How Many Examples a Guarantee RequiresCompute how many examples classic learning bounds demand, see what drives the numbers, and learn why practice often needs fewer.FoundationsRegularization as a Way to Control Model CapacitySee how penalties, constraints and early stopping limit what a model can fit, with ridge and lasso worked out by hand and in code.FoundationsThe Curse of Dimensionality and Why Distances Stop HelpingSee why space empties out as features are added, why nearest and farthest points look alike, and what to do about it.FoundationsThe Manifold Hypothesis and Why High-Dimensional Data Is LearnableWhy images and text with thousands of dimensions can be learned from limited data, how to probe the idea, and where it strains.FoundationsDouble Descent: When More Parameters Reduce Test Error AgainUnderstand why test error can peak as a model starts to fit its training data exactly and then fall again, with code to see it.FoundationsOccam's Razor and Minimum Description Length in Model SelectionTurn the preference for simpler explanations into a calculation in bits, and compare it with AIC, BIC and cross-validation.FoundationsWhy the Assumption of Independent, Identically Distributed Data MattersLearn what the i.i.d. assumption promises, how groups, time and drift break it, and which splits and checks protect your results.FoundationsConcentration Inequalities and Why Test Set Estimates Can Be TrustedUse Hoeffding, Chebyshev and Bernstein bounds to say how far a test score can stray from the truth, and learn when they fail.FoundationsOnline Learning Theory and the Idea of RegretUnderstand regret, why following the leader can fail, and how weighted experts and online gradient descent come with guarantees.