Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. [25 points] Parameter Sweep over Decision Trees - Dataset: https://www.kaggle.com/uciml/mushroom-classification - Divide it randomly into 65% training and 35% test data - Build a

2. [25 points] Parameter Sweep over Decision Trees - 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 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 (Keep Size Threshold very low so only these two parameters are at play) - 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spherical Radial Basis Functions, Theory And Applications

Authors: Simon Hubbert, Quoc Thong Le Gia, Tanya M Morton

1st Edition

331917939X, 9783319179391

More Books

Students also viewed these Mathematics questions

Question

Give two examples of products with joint costs.

Answered: 1 week ago