Decision tree algorithm is used to solve classification problem in machine learning domain. In this ...
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...
csv file for exercise: https://github.com/codebasics/py/blob...
Exercise solution: https://github.com/codebasics/py/blob...
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)