topskill.dev
CoursesTracks
All courses/Machine Learning FundamentalsWhat machine learning learns
Foundations and the ML process
1 / 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

What machine learning learns

Machine learning uses examples to build a model, a mathematical rule or system that produces an output from an input. Instead of writing every decision rule by hand, we use a learning algorithm to estimate useful patterns from data.

For example, a delivery-time model receives a distance and predicts a duration. Its training examples pair recorded distances with observed durations. A fixed rule such as “charge a delivery fee of 5” is different: the policy is already known and can be implemented directly.

The learning algorithm is the procedure used to build the model. The fitted model is the result of that procedure. Running the same algorithm on different examples can produce a different fitted model.

Learning does not choose a sensible goal, collect representative data, or establish that an observed relationship is causal. Those responsibilities remain part of the modeling process. A model can find a useful relationship in the records and still fail on unfamiliar inputs.

Use machine learning when examples contain patterns worth learning and performance can be checked on new cases. A fixed rule may be preferable when the rule is known, records are poor, or errors would be difficult to detect.

Check your understanding

Does a fixed delivery fee set by policy require machine learning?

Answer: No. The rule is already known and can be implemented directly.

Fact 1
1 / 1
FACT 1

No. The rule is already known and can be implemented directly.