Python For Machine Learning-2
Python For Machine Learning-2
Anirudh Rao
Great Learning
Session Takeaways
Python for Machine Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Did you know?
Python is the world’s most popular programming language!
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why learn Python?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why learn Python?
Built for Machine Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why learn Python?
Built to scale
● Interpreted language
● Easy to learn
● Open source
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why learn Python?
Python is a popular choice
● Huge library
● Large community
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Skills needed for Machine
Learning using Python
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Skills needed for Python Machine Learning
Important requirements!
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Getting started with
Machine Learning!
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning
The most important aspect of Data Science
● Datasets
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning
Types of Machine Learning
● Supervised Learning
● Unsupervised Learning
● Reinforcement Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Supervised Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Supervised Learning
Grouping
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Unsupervised Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Unsupervised Learning
Grouping
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Reinforcement Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Practical implementation
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning using Python
Let us take a look at two important algorithms
● Linear Regression
● KNN Algorithm
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Linear Regression
Linear Regression
● What is regression?
● Why is it so popular?
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Linear Regression
Let us implement a simple Linear Regression model!
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-NN Algorithm
K-Nearest Neighbour Algorithm
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-Nearest Neighbour Algorithm
Let us understand a simple KNN Classifier:
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-Nearest Neighbour Algorithm
Let us understand a simple KNN Classifier:
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-Nearest Neighbour Algorithm
Let us understand a simple KNN Classifier:
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-Nearest Neighbour Algorithm
Let us understand a simple KNN Classifier:
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-Nearest Neighbour Algorithm
Let us understand a simple KNN Classifier:
Assume k=3:
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
K-Nearest Neighbour Algorithm
Let us understand a simple KNN Classifier:
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning - Online
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning - Online
Do not be overwhelmed by content!
● It is key that you as a learner is not overwhelmed by the wealth of data present online.
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning - Online
Free Content on Machine Learning
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Machine Learning
Specialization
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Thank You!
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited