Question: Parameter Sweep over Decision Trees (using python) - Dataset: https://www.kaggle.com/uciml/mushroom-classification - Divide it randomly into 65% training and 35% test data - Build a Decision

Parameter Sweep over Decision Trees (using python) - Dataset: https://www.kaggle.com/uciml/mushroom-classification - Divide it randomly into 65% training and 35% test data - Build a Decision Tree classifier with the following hyper-parameter combinations: o (Im)Purity Measure: Entropy o Maximum Depth:1, 2, 3, 4, 5, 6, 7 o Purity Threshold: 0.6, 0.7, 0.8, 0.9 o Size Threshold: Very low - Create a 2-D Table (Depth vs. Purity) above values - In each cell, write the Training and Test accuracy - Make an observation about the best parameter combination - Draw the decision tree using the tools available - Write down the rules learnt by this decision tree

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!