Why Machine
Learning?
• Series Startup Netflix
• My wife is on postgraduate study about material physics
using ML
• 1on1 mentorship target
• Prakerja project about Course Recommendation
Slide 3
Slide 3 text
What is Machine Learning
Machine learning (ML) is the study of
computer algorithms that improve automatically through
experience and by the use of data.
Mitchell, Tom (1997). Machine Learning. New York:
McGraw Hill. ISBN 0-07-042807-7. OCLC 36417892
Slide 4
Slide 4 text
How is machine learning different from
traditional programming?
Traditional Programming Machine Learning
Slide 5
Slide 5 text
How is machine learning different from
traditional programming?
Traditional Programming Machine Learning
Slide 6
Slide 6 text
Machine learning flow
Slide 7
Slide 7 text
Step 1: Define your machine learning problem
Binary
classification
Multi-class
classification
Regression Catalog
organization
Generative
model
Slide 8
Slide 8 text
Binary
classification
Multi-class
classification
Regression Catalog
organization
Generative
model
Slide 9
Slide 9 text
Binary
classification
Multi-class
classification
Regression Catalog
organization
Generative
model
Slide 10
Slide 10 text
Binary
classification
Multi-class
classification
Regression Catalog
organization
Generative
model
Slide 11
Slide 11 text
Binary
classification
Multi-class
classification
Regression Catalog
organization
Generative
model
Slide 12
Slide 12 text
Binary
classification
Multi-class
classification
Regression Catalog
organization
Generative
model
Slide 13
Slide 13 text
Step 2: Acquire, get to know, & prepare your data
Data types:
• Tabular
• Text
• Sound
• Image
Where to get the
data?:
• Use a ready-to-use
dataset
• Extract the data by
yourself
Correct and
Normalize data:
Slide 14
Slide 14 text
Step 3: Train your model
Features Model Training
Slide 15
Slide 15 text
Step 3: Train your model
Features
Things that influence
prediction result
Example:
1. demographics,
location, education
history, employment
history, remaining credit
2. username, anime_id,
and my_score
Slide 16
Slide 16 text
Step 3: Train your model
Model
• A model maps examples to predicted
labels
• It is defined by weights that are learned
during the training process
• Once trained, you can use it to make
predictions about data that it has never
seen before
Slide 17
Slide 17 text
Step 3: Train your model
Train
Steps:
1. Separate data to be trained and to be
evaluated
2. Iterate training by modifying feature and/or
modify how to train your dragon (epoch or
learning rate)
Our model does not get
smart right away - it
needs to be “trained”
Using available Library:
- CoreML
- fastText