Question: When building the tree, control the evolution of the tree with the following statement: decision _ tree = DecisionTreeClassifier ( max _ depth = 6
When building the tree, control the evolution of the tree with the following statement:
decisiontree DecisionTreeClassifiermaxdepth criterion"entropy",maxleafnodes minsamplesleaf
Use of the original data as the test set and randomstate
What is the prediction of the decision tree for a customer with income house value and attended college ie college
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
