Brain Status

Level 6 ● 50 XP

Day 61 · Machine Learning

How AI Learns

Learn how data becomes patterns, patterns become models, and models make predictions.

Brain Evolution

Current

Brain v1.0

Learning Now

ML Fundamentals

Next

Classification Model

Core ML Concepts

data

Information used by a machine learning system.

feature

Information used by a model to make a prediction.

label

The correct answer the model tries to learn.

algorithm

A method used to learn patterns from data.

training

The process of learning patterns from examples.

model

The learned result produced after training.

prediction

An answer produced by a trained model for new input.

How Machine Learning Happens

Step 1

Collect Data

Collect examples that the Brain can learn from.

✓ completed

Step 2

Prepare Features

Convert information into a form the model can process.

✓ completed

Step 3

Provide Labels

Give correct answers for supervised learning.

• in progress

Step 4

Train

Allow an algorithm to learn patterns.

✗ locked

Step 5

Create Model

Keep the learned pattern representation.

✗ locked

Step 6

Predict

Use the trained model on new information.

✗ locked

Brain v1.0

Rule-Based Decision

if "teach" in message:     
    return "teacher"

Raisa writes the decision rule.

Brain v2.0 Direction

Learned Decision

prediction = model.predict(     
    ["Explain Python"] )

The model learns decision patterns from labelled examples.

Our First Training Dataset

Message Label
Teach me Python teacher
lets go outside in german translator
Explain Django teacher
Calculate 10 + 5 calculator
Find 20 divided by 4 calculator
Translate hello translator
Translate good morning translator
Plan my study planner
Explain how Django models work teacher
4 multiplied by 7 calculator
I dont understand loops teacher
How can I learn quickly? planner
How do I start a musical band? planner
translate from english to spanish: Look what i found! translator
I want to know about Quantum Physics. teacher
Please tell me how I can take care of myself. planner
Are violtes violet? in russian translator
Why do we need to drink water? teacher
Plan my schedule for the next 4 weeks. planner
Whats 3 minus 6 calculator
I want to make good habits. planner
How do I prepare a funeral? planner
4+5 calculator
What is a function in python? teacher
How do I say I dislike you in malay? translator
I want to know the answer to negative five plus three. calculator
What do I answer 3.5+2/5 with? calculator
what is french for roses are red translator

Training Samples

28

Classes

4

teacher 7
translator 7
calculator 7
planner 7