Decision tree algorithm is used to solve classification problem in machine learning domain. In this tutorial we will solve employee salary prediction problem using decision tree. First we will go over some theory and then do coding practice. In the end I’ve a very interesting exercise for you to solve.
#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #DecisionTree #sklearntutorials #scikitlearntutorials
Code: https://github.com/codebasics/py/blob/master/ML/9_decision_tree/9_decision_tree.ipynb
csv file for exercise: https://github.com/codebasics/py/blob/master/ML/9_decision_tree/Exercise/titanic.csv
Exercise solution: https://github.com/codebasics/py/blob/master/ML/9_decision_tree/Exercise/9_decision_tree_exercise.ipynb
Topics that are covered in this Video:
0:00 – How to solve classification problem using decision tree algorithm?
0:26 – Theory (Explain rationale behind decision tree using a use case of predicting salary based on department, degree and company that a person is working for)
2:10 – How do you select ordering of features? High vs low information gain and entropy
3:52 – Gini impurity
4:28 – Coding (start)
9:11 – Create sklearn model using DecisionTreeClassifier
13:32 – Exercise (Find out survival rate of titanic ship passengers using decision tree)
Do you want to learn technology from me? Check https://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description for my affordable video courses.
Next Video:
Machine Learning Tutorial Python – 10 Support Vector Machine (SVM): https://www.youtube.com/watch?v=FB5EdxAGxQg&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw&index=11
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://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description
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
๐ธ Dhaval’s Personal Instagram: https://www.instagram.com/dhavalsays/
๐ธ Codebasics Instagram: https://www.instagram.com/codebasicshub/
๐ Facebook: https://www.facebook.com/codebasicshub
๐ฑ Twitter: https://twitter.com/codebasicshub
๐ Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
๐ Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
๐ Patreon: https://www.patreon.com/codebasics?fan_landing=true
source