Machine Learning - 6
Machine Learning - 6
www.intellipaat.com
Agenda for
Today’s Session
Learn and implement various
03 05
Understand how to define
01 Get a brief understanding
of what exactly is Python data types in python and call a function in python
www.intellipaat.com
Machine Learning around YOU!
www.intellipaat.com
Products Recommendation
Machine
Learning
Around YOU!
www.intellipaat.com
Amazon Alexa
Machine
Learning
Around YOU!
www.intellipaat.com
Movie Recommendation
Machine
Learning
Around YOU!
www.intellipaat.com
Google Traffic Prediction
Machine
Learning
Around YOU!
www.intellipaat.com
Introduction to Machine Learning
www.intellipaat.com
What is Machine Learning?
www.intellipaat.com
What is Machine Learning?
Machine
Learning
Basics
www.intellipaat.com
What is Machine Learning?
Machine
Learning
Basics
www.intellipaat.com
How does Machine Learn?
Machine
Learning
Basics
www.intellipaat.com
Machine works better with more data…
Machine
Training &
Testing
www.intellipaat.com
Who knows we are already training a machine…
Machine
Training &
Testing
www.intellipaat.com
Machine Learning popular MYTH!
www.intellipaat.com
AI vs Machine Learning vs Deep Learning
Deep Learning
www.intellipaat.com
AI vs Machine Learning vs Deep Learning
Machine
Learning Artificial Intelligence
Area of computer science
Myth 01 that emphasizes the
creation of intelligent
machines that work and
react like humans
www.intellipaat.com
AI vs Machine Learning vs Deep Learning
Machine
Learning Artificial Intelligence
A subset of AI which
gives a machine the
ability to learn without
being explicitly
programmed.
www.intellipaat.com
AI vs Machine Learning vs Deep Learning
Machine
Learning Artificial Intelligence
Deep Learning
A subfield ML concerned
with algorithms inspired by
the structure and function
of the brain called artificial
neural networks
www.intellipaat.com
Robots will take up our JOB!
Machine
Learning
Myth 02
www.intellipaat.com
Types of Machine Learning
Machine
Learning Supervised Learning
Reinforcement Learning
www.intellipaat.com
1. Supervised Learning
Machine
Training Data
Ohhk
Unsupervised Learning noted..
Reinforcement Learning
www.intellipaat.com
1. Supervised Learning
Machine
Training Data
Learning
Types
What is
Supervised Learning this image
represent?
97% its
an apple
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
Use Case: Spam Classifier
Machine
Learning
Types
Supervised Learning
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
Use Case: Finger Print Analysis
Machine
Learning
Types
Supervised Learning
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
2. Unsupervised Learning
Machine
Learning
Types
Supervised Learning
…..
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
2. Unsupervised Learning
Machine
Learning
Types Similar Cluster 1
Similar Cluster 3
Supervised Learning
Similar Cluster 2
3 clusters
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
Use Case: Voice Based Personal Assistant
Machine
Learning
Types
Supervised Learning
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
Use Case: Netflix Recommendation
Machine
Learning
Types Similar Cluster 1
Supervised Learning
Similar Cluster 2
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
3. Reinforcement Learning
Agent Environment
1 Observe
Machine 2
Select Action
using policy
Learning
Types 3 Action! -50 Points
Reward or
Supervised Learning 4 Penalty
5 Update Policy
www.intellipaat.com
How Pavlov Trained his dog using
Reinforcement Learning?
Machine
Learning
Types
Supervised Learning
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
Use Case: Self Driving Cars
Machine
Learning
Types
Supervised Learning
Unsupervised Learning
Reinforcement Learning
www.intellipaat.com
What you can do with Machine Learning?
www.intellipaat.com
What is the
market value of Is the email
this house? spam or not spam
Which type of
house lies in Is there any
this segment? fraud in this
transaction?
www.intellipaat.com
Classificatio
n Algorithm Is the person a male or a female?
Is the mail spam or non-spam?
Category is predicted using
the data
www.intellipaat.com
Anomaly
Detection Is there any fraud in this transaction?
Algorithm Is someone trying to hack our network?
Identify unusual data points
www.intellipaat.com
Clustering
Algorithm Which type of house lies in this segment?
What type of customer buys this product?
Groups data based on some
condition
www.intellipaat.com
Regression
Algorithm What is the market value of this house?
Is it going to rain tomorrow?
Groups data based on some
condition
www.intellipaat.com
Cool Machine Learning Projects
YOU can use!!
https://www.autodraw.com/
Machine https://quickdraw.withgoogle.com/
YOU https://experiments.withgoogle.com/collection/ai
https://toolbox.google.com/datasetsearch
www.intellipaat.com
DEMO: ML
using
Python
www.intellipaat.com
IRIS Flower Dataset
DEMO: ML
using
Python
www.intellipaat.com
QUIZ
www.intellipaat.com
Quiz 1
Which of the following regression is best suited for
dealing with categorical dependent variable?
A Linear Regression
C Logistic Regression
D Quantile Regression
www.intellipaat.com
Answer 1
Which of the following regression is best suited for
dealing with categorical dependent variable?
A Linear Regression
C Logistic Regression
D Quantile Regression
www.intellipaat.com
Quiz 2
Which of the following methods do we use to find the
best fit line for data in Linear Regression?
B Maximum Likelihood
C Logarithmic Loss
D Both a and b
www.intellipaat.com
Answer 2
Which of the following methods do we use to find the
best fit line for data in Linear Regression?
B Maximum Likelihood
C Logarithmic Loss
D Both a and b
www.intellipaat.com
Quiz 3
Which of the following methods do we use to best fit
the data in Logistic Regression?
B Maximum Likelihood
C Jaccard distance
D Both a and b
www.intellipaat.com
Answer 3
Which of the following methods do we use to best fit
the data in Logistic Regression?
B Maximum Likelihood
C Jaccard distance
D Both a and b
www.intellipaat.com
Quiz 4
Which of the following is true?
D Both b and c
www.intellipaat.com
Answer 4
Which of the following is true?
D Both b and c
www.intellipaat.com
Quiz 5
Amazon Product Recommendation uses which of
the following machine learning technique?
C None
www.intellipaat.com
Answer 5
Amazon Product Recommendation uses which of
the following machine learning technique?
C None
www.intellipaat.com
www.intellipaat.com
India : +91-7847955955
www.intellipaat.com