This Edureka Python tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) gives an introduction to Machine Learning and how to implement machine learning algorithms in Python. Below are the topics covered in this tutorial:
1. Why Machine Learning?
2. What is Machine Learning?
3. Types of Machine Learning
4. Supervised Learning
5. KNN algorithm
6. Unsupervised Learning
7. K-means Clustering Algorithm
2. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Agenda
➢ Why Machine Learning?
➢ What is Machine Learning?
➢ Steps involved in Machine Learning
➢ Types of Machine Learning
➢ Supervised Learning
➢ Example of Supervised Learning
➢ Unsupervised Learning
➢ Example of Unsupervised Learning
5. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Why Machine Learning?
Recommending a product to buyers e.g used by Amazon, Flipkart, Snapdeal etc. is not possible by manual calculations
Purchase history of a Customer
Machine learning based on
Purchase & Search history
Search list of Customer
6. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Why Machine Learning?
Analysing huge sensor data and predicting the outcome e.g in Forecasting systems is not possible by manual calculations
8. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
What is Machine Learning?
Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being
explicitly programmed.
10. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Steps involved in Machine Learning
Step - 1 Step - 2 Step - 3 Step - 4 Step - 5 Step - 6
Collecting
Data
Cleaning Data
Analyse Data
Train the
Algorithm
Test the
Algorithm
Use it
14. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Supervised Learning
Supervised learning is the machine learning task of inferring a function from labelled training data
Training
Data
Learning
Algorithm
Model Test
Data
Accuracy
Step – 1 Training
Step – 2 Testing
17. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
KNN Algorithm
Movie Title # of Kicks # of Kisses Type of Movie
California Man 3 104 Romance
He’s Not really into Dudes 2 100 Romance
Beautiful Woman 1 81 Romance
Kevin Longblade 101 10 Action
Robo Slayer 99 5 Action
Amped II 98 2 Action
? 18 90 Unknown
18. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
KNN Algorithm
Movie Title Distance To Movie “?”
California Man 20.5
He’s not really into dudes 18.7
Beautiful Women 19.2
Kevin Longblade 115.3
Robo Slayer 117.4
Amped || 118.9
Numberofkissesinthemovie
Number of kicks in the movie
California Man
He’s not really into dudes
?
Beautiful Women
Amped ||
Robo Slayer
Kevin Longblade
20. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Example of Unsupervised Learning - Clustering
What is
Clustering?
Data
Class - 1 Class - 2
High intra-class similarity
Low inter-class similarity
22. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
K-Means Clustering Algorithm
Start
Number of
Clusters K
Distance Objects
to centroids
Grouping based on
minimum Distance
Centroid
Centroid has
Converged?
False
End
True
23. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
K-Means Clustering Algorithm
CurrentBalance
Gross Monthly Income
High
Medium
Low
Low Medium High
Example Cluster 2
High Income
Low Balance
Example Cluster 1
Low Income
High Balance
24. www.edureka.co/pythonEDUREKA PYTHON CERTIFICATION TRAINING
Session In A Minute
Why Machine Learning? What is Machine Learning?
Supervised Learning KNN Algorithm
Types of Machine Learning
Unsupervised Learning