ML Fundamentals
What a machine learning system actually is — a pipeline from raw data to feedback — and the sixteen things that go wrong in it, most of which are invisible offline.
Not "which algorithm". Turning data into a system that learns useful patterns, generalises, serves predictions and stays measurable after it ships — and knowing which neighbouring domain owns each thing it depends on.
Raw data → dataset → features → split → model → training → evaluation → artifact → deployment → inference → feedback. Eleven stages, each a place an assumption enters, and the loop back is what makes it a system rather than a script.
Sixteen failure classes, each entering at a specific pipeline stage, most invisible to the offline metric. Learning to name them by stage is the difference between debugging a model and retraining it in the dark.
A program encodes rules someone wrote. A model encodes patterns from data it was shown — and therefore inherits the data's biases, gaps and timing. The model is a set of assumptions with weights attached.
Problem → Target → Data → Representation → Split → Model → Training → Evaluation → Validation → Deployment → Inference → Monitoring → Drift → Retraining. Fourteen questions in order, and the order is the method.
Libraries hide optimisation, AutoML hides search, feature stores hide synchronisation, model servers hide inference, cloud platforms hide infrastructure, foundation models hide training. Use all of them — and know what each one is hiding when it breaks.