ML
5 posts on ML.
5 posts
What Is a Machine Learning Model, Really?
A machine learning model is a rule with blanks, plus the numbers that training found for them. This first post in a five-part series builds that idea from zero with one tiny example: predicting an exam score from study hours. It covers weights, biases and parameters, and why big models are called big.
How Does a Model Learn From Its Mistakes?
Training finds a model's numbers by measuring how wrong it is and nudging every number a little, over and over. This post walks through that loop by hand: loss and mean squared error, gradient descent on one weight, the learning rate, and how batches and epochs scale it up to millions of numbers.
How Do Neural Networks Work, and How Do They Learn?
A straight-line rule can never learn that too much sleep hurts an exam score. A few neurons with a simple bend can. This post builds a tiny neural network by hand, shows how it is wired and what people decide versus what training finds, then works out where a gradient comes from and how backpropagation finds one for every weight.
How Do You Choose a Model and Know It's Good?
Not every model is a neural network, and a high score can lie. This post covers classification vs. regression, the main families of models, how yes/no models measure mistakes, how to prepare and split data without leaking it, how to spot overfitting, and why accuracy misleads on rare events.
How Do You Build Your First Machine Learning Model?
The last post in a five-part series puts every idea to work. It walks a loan-approval project from data to a saved model, introduces the Python tools people use, runs real code you can paste into Google Colab, and shows how the same ideas scale up to the large language models behind chatbots.