MACHINE LEARNING • LESSON 1 • REVIEW

Key Takeaways

You have now completed the first lesson. Before moving forward, let's reduce everything we learned into the ideas you should remember.

THE CORE IDEA

Machine Learning learns from examples and uses what it learned to make predictions or decisions.

That is the foundation behind everything we explored in this lesson.

01
MACHINE LEARNING

ML learns patterns from data

Instead of manually writing every rule for every possible situation, we provide examples and use a learning process to find useful relationships in the data.

02
TRAINING DATA

Examples provide the information

Training data contains examples that the learning process uses to find useful patterns or relationships.

03
MODEL

A model represents what was learned

After learning from data, the resulting model can be used with new input to produce a prediction or decision.

04
TRAINING

Training and prediction are different

Training is the learning stage. Prediction is the stage where we use the trained model with new input.

Training Data
Training
Model
Prediction
05
DATA MATTERS

The model depends on the data it learns from

If important training data changes, what the model learns can also change.

More importantly, the model cannot magically use information that was never provided to it.

06
PREDICTIONS

Predictions are not guarantees

A model produces an estimate or decision based on what it learned. The prediction can be wrong, because real-world data is not perfectly predictable.

07
PYTHON

Python is a tool, not Machine Learning itself

We used Python to demonstrate the Machine Learning workflow. Later, we will use proper Machine Learning libraries and algorithms.

REMEMBER THIS

The Machine Learning Workflow

01 Data

Examples

02 Training

Learn patterns

03 Model

What was learned

04 New Input

New example

05 Prediction

Output

OUR HOUSE PRICE EXAMPLE

Everything in One Example

We started with houses for which we already knew the size and price.

EXAMPLES House Size + Price
LEARN Relationship
MODEL Learned Relationship
NEW HOUSE 1,400 sq ft
OUTPUT Predicted Price
BEFORE YOU MOVE ON

Make Sure These Five Ideas Are Clear

1.

ML learns useful patterns from data.

2.

Training data is used during learning.

3.

A model represents what was learned.

4.

A trained model can make predictions for new inputs.

5.

The data and information available to the model matter.

LESSON 1 COMPLETE

You now understand the basic Machine Learning workflow.

We started with a simple real-world problem, looked at data, found a relationship, created a simple model, made a prediction, changed the data, and examined what happened.

The next lesson will take this foundation and explain how real Machine Learning problems are structured.

NEXT LESSON

02. How ML Problems Are Structured

Now that you understand the basic idea of Machine Learning, we'll learn how to turn a real-world problem into a Machine Learning problem.

Start Lesson 2 →