Skip to content

PRO TIP Block youtube.com at the DNS level โ€” Pi-hole, NextDNS or your hosts file โ€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Machine Learning Tutorial Python – 11 Random Forest

461K views on YouTube

Random forest is a popular regression and classification algorithm. In this tutorial we will see how it works for classification problem in machine learning. It uses decision tree underneath and forms multiple trees and eventually takes majority vote out of it. We will go over some theory first and then solve digits classification problem using sklearn RandomForestClassifier. In the end we have an exercise for you to solve.

#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #MachineLearningAlgorithm #RandomForest #sklearntutorials #scikitlearntutorials

Code: https://github.com/codebasics/py/blob/master/ML/11_random_forest/11_random_forest.ipynb

Exercise: Exercise description is avialable in above notebook towards the end

Exercise solution: https://github.com/codebasics/py/blob/master/ML/11_random_forest/Exercise/random_forest_exercise.ipynb

Topics that are covered in this Video:
0:00 Random forest algorithm
0:50 How to build multiple decision trees based on single data set?
2:34 Use of sklearn digits data set to make a classification using random forest
3:04 Coding (Start) (Use sklearn digits dataset for classification using random forest)
7:10 sklearn.ensemble RandomForestClassifier
10:36 Confusion Matrix (sklearn.metrics confusion_matrix)
12:04 Exercise (Classify iris flower using sklearn iris flower dataset and random forest classifier)

Do you want to learn technology from me? Check https://resources.codebasics.io/eqdfdH for my affordable video courses.

Next Video:
Machine Learning Tutorial Python 12 – K Fold Cross Validation: https://www.youtube.com/watch?v=gJo0uNL-5Qw&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw&index=13

Populor Playlist:
Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV

Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg

Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw

Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy

matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl

Python: https://www.youtube.com/watch?v=eykoKxsYtow&list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0&index=1

Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8

Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials

To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

๐ŸŒŽ My Website For Video Courses: https://resources.codebasics.io/eqdfdH

Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.

#๏ธโƒฃ Social Media #๏ธโƒฃ
๐Ÿ”— Discord: https://discord.gg/r42Kbuk
๐Ÿ“ธ Codebasics Instagram: https://www.instagram.com/codebasicshub/
๐Ÿ”Š Codebasics Facebook: https://www.facebook.com/codebasicshub
๐Ÿ“ Codebasics LinkedIn: https://www.linkedin.com/company/codebasics/
๐Ÿ“ฑ Codebasics X handle: https://twitter.com/codebasicshub
๐Ÿ“ธ Dhaval’s Instagram: https://www.instagram.com/dhavalsays/
๐Ÿ“ Dhaval’s LinkedIn: https://www.linkedin.com/in/dhavalsays/
๐Ÿ“ฑ Dhaval’s X handle: https://x.com/dpcodebasics
๐Ÿ”— Patreon: https://www.patreon.com/codebasics?fan_landing=true