Machine Learning Engineering · Module 01
Machine learning fundamentals
- Lessons
- 10
- Free
- 5
- Reading
- ~2 h
Your progress
0 / 10 lessons done
Sign in to trackLessons
- Introduction to machine learning engineeringFreeMost of the work on a production model happens around it: getting the data, running it on a schedule, and noticing when it goes stale. Knowing that from day one tells you where your time, your bugs and your company’s money will go.
- What machine learning is: rules learned from dataFreeEvery model you will train, from a one-number threshold to a neural network, is the same three parts: a family of rules, a score for mistakes and a search. Seeing them clearly tells you what to change when a model is wrong.
- Supervised, unsupervised and reinforcement learningFreeThe first thing to settle about any ML request is what the data can tell you about the right answer. That decides the kind of learning, the data you must collect, and how long you wait before you know whether it works.
- The ML lifecycle: from problem to productionTraining is often a few days of a project that runs for months. Knowing the whole lifecycle tells you where the time goes, where problems hide, and which stage to fix when the model stops helping the business.
- ML engineering roles: what the job involvesYour job title will rarely say exactly what you do, and most of your week will not be spent training models. Knowing how the work divides tells you what to learn, who you will work with, and how to explain a model to the people who pay for it.
- When not to use machine learningMost requests that reach an ML engineer can be answered with code, a rule, a person or someone else’s model. Spotting them early saves months of building and running a system nobody needed.
- Framing a business problem as an ML problemMost requests reach an ML engineer as a goal, such as “fewer customers leaving”, not as a prediction. How you turn the goal into a target decides what the model learns, and a model can be very good at a target that doesn’t help the business.
- Baselines: the simple model to beatFreeEvery model you ship replaces something simpler, even if that something is guessing. Measuring the simple option first tells you whether the model works, whether it is worth its cost, and whether the score you are looking at is even possible.
- Data, features and labelsFreeEvery supervised model learns from a table someone built by hand from raw events. Most of an ML engineer’s early bugs live in that table, not in the model, so building it well decides whether the model can work at all.
- Design: predicting trip times like UberMost first ML systems at work look like this one: a number shown to customers, a simple rule already in place, and plenty of logged history. Getting the label, the baseline, the split and the fallback right matters more than the choice of model.
Practise with
No tools or paper guides for this module yet.
Terms this module teaches 22
Open glossaryApplied scientist
An engineer-researcher who develops new or better modeling methods for a product problem and shows with experiments that they work.
Baseline (model)
The simple rule or model a new model must beat to be worth its cost, measured on the same data.
Churn
Customers who stop buying or using a product and don’t come back. A churn model predicts which customers are likely to leave.
Classification
A supervised learning problem where the answer is a category, such as yes or no, or one of several classes.
Feature
One input a model reads about an example, as a number or a category.
Generalization
How well a model does on new examples it didn’t learn from, as opposed to the examples it was trained on.
Label
The known answer for a past example, which a model learns to predict.
Label delay
The time between a prediction and the moment its correct answer becomes known, which limits how fast a team can tell whether a model works.
Label window
The period after the snapshot date in which a label is observed. Longer windows give more correct labels that arrive later.
ML lifecycle
The stages a model goes through, from framing the problem through data, training, evaluation and deployment to monitoring, repeated as a loop because monitoring leads to retraining.
ML platform engineer
An engineer who builds the shared tools other ML teams use to train, store, serve and monitor their models.
ML problem framing
Turning a product goal into a task a model can learn: what it predicts, for what, at which moment, from which label, and how success is judged.
ML system
A model together with everything that keeps it working: data pipelines, features, training, model storage, serving and monitoring.
Model (machine learning)
A program whose rules were learned from past data rather than written by a person. Given an input, it returns a prediction.
Notebook
A document where code, its output and notes sit together and run one step at a time, such as Jupyter, Colab or Kaggle notebooks.
On call
Taking a turn as the person who is alerted, and expected to respond, when a production system breaks.
Regression (machine learning)
A supervised learning problem where the answer is a number, such as an amount or a duration.
Snapshot date
The moment a training example describes. Its features may use only data from before it, and its label comes from after it.
Supervised learning
Training a model on examples that each come with the correct answer, so it can predict the answer for new examples.
Test set
Labelled examples kept out of training and used only to estimate how a model will do on data it hasn’t seen.
Training
Running a program over past examples so that a model learns rules from them. Using the trained model on new data is inference.
Unsupervised learning
Learning from examples that have no answers attached, to find structure such as groups or unusual cases.