topskill.dev
CoursesTracks
All courses/Machine Learning FundamentalsTraining and inference
Foundations and the ML process
3 / 8
← Machine Learning Fundamentals
○What machine learning learns○Features and labels●Training and inference○Regression or classification○The machine learning process○Data quality and coverage○Representing data✦Module Quiz
○Linear regression○Try a tiny linear model○Logistic regression○Nearest neighbors○Decision trees○Random forests○Boosting○Naive Bayes○Support vector machines✦Module Quiz
○Clustering○K-means○Choosing and interpreting clusters○Principal component analysis○Neural networks and deep learning○Self-supervised learning○Transfer learning○Reinforcement learning✦Module Quiz
○Generalization and overfitting○Holding out evaluation data○Data leakage○Baselines○Bias and variance intuition○Reading learning curves✦Module Quiz
○Prediction errors and residuals○Measuring regression error○Squared error and large misses○The confusion matrix○Precision and recall○Try a held-out classifier✦Module Quiz
○Bias and limits○Monitoring and drift○Comparing models for a decision✦Module Quiz
Foundations and the ML process

Training and inference

During training, a supervised learning algorithm examines features and known labels. It adjusts the model to improve its predictions on those examples. Some methods fit a small set of numbers; others retain examples or build many decision rules.

During inference, the fitted model receives features for a new case and makes a prediction. The actual answer is not an input to that prediction. For a delivery-time prediction, the inputs can include the distance and queue at dispatch; the actual duration is not known yet.

A prediction does not usually teach the model anything by itself. An observed outcome can later be recorded and included in a new training run. Until then, the deployed model may stay unchanged.

Keep both phases in mind when judging an input. An eventual refund may appear in historical delivery records, but it is unavailable at dispatch. A usable model must work with information available at the moment it predicts.

Check your understanding

Does making a prediction necessarily update the model?

Answer: No. Ordinary inference applies the fitted model; updating it requires a separate learning step.

Fact 1
1 / 1
FACT 1

No. Ordinary inference applies the fitted model; updating it requires a separate learning step.