Back to the lessonPreparing the printout…

Fundamental of Machine Learning · Module 1: Data Preparation and Model Foundations

1.1 How Machines Learn

[video] /api/lesson-media/videos/9b417aa2-5e9f-4ae3-a9db-2a3b7f03f372-1794615042159-e67ad6bf8f1e35fe.mp4

[markdown] content available only on the platform

[markdown] content available only on the platform

Flashcards · 1.1 How Machines Learn

Artificial intelligence (AI) — The part of computer science that builds systems able to do tasks that normally need human intelligence.

Recognising images, understanding language, making decisions.

Machine learning — An approach inside AI where the computer learns patterns from data instead of following rules written by hand.

Learning house prices from past sales instead of coding a price formula.

Deep learning — A subset of machine learning that uses neural networks with many layers, strong for images, speech and language.

Classifying photos of cats and dogs with a neural network.

Data science — An interdisciplinary field combining computer science, mathematics and statistics, and domain knowledge to get value from data.

Cleaning sales data, finding insights, building a model, reporting results.

Model — The part of the loop that learns from data and produces predictions, like the student in the classroom analogy.

y = w * x, where w is learned.

Ground truth — The true, correct value that a prediction is compared against, like the teacher's solution.

The actual selling price of a house.

Loss function — A rule that measures how wrong the model's predictions are compared with the ground truth.

MSE: mean((prediction - y) ** 2)

Loss value — The number produced by the loss function; smaller means the predictions are closer to the truth.

Predict 3.0, truth 3.2: squared error = 0.04.

Update — The step where the model changes its internal settings to reduce the loss next time.

w = w - learning_rate * gradient

Training — Repeating the loop of data, prediction, loss and update many times until predictions become good.

Running the update loop thousands of times.

Fundamental of Machine Learning · 1.1 How Machines Learn · printed on November 20, 2026