Question: For this question you will adapt the lab notebook for decision trees. Your task is to build a decision tree with just 3 predictor variables,
For this question you will adapt the lab notebook for decision trees. Your task is to build a decision tree with just 3 predictor variables, income, house value and whether college attended or not. The target variable stays the same (leave or stay). When building the tree, control the evolution of the tree with the following statement:
decision_tree = DecisionTreeClassifier(max_depth=6, criterion="entropy",max_leaf_nodes = 12, min_samples_leaf = 1).
Which of the following statements is true about the new tree?
Group of answer choices
Has an accuracy of about 0.67
Has an accuracy of about 0.69
Has an accuracy of about 0.60
Has an accuracy of about 0.63
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
