Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Choose an open dataset of your choice to complete this assignment: 1 . Include a basic description of the data. 2 . Write your own
Choose an open dataset of your choice to complete this assignment:
Include a basic description of the data.
Write your own description of what the classification task is and why a decision tree is a reasonable. model to try for this data.
Include one summary visualization of the data.
Fit a decision tree with the default parameters on of the data.
Test it on held out data and generate a classification report.
Inspect the model by visualizing and interpreting the results.
Does this model make sense?
Are there any leaves that are very small?
Is this an interpretable number of levels?
Next do an experiment to see how maxdepth, minvaluessplit, or minvaluesleaf impacts the model.
Choose one of these and explain why and how you hypothesize it will impact the performance
Use the model you fit above and EDA to choose minimum and maximum values for your parameter. Choose a total of values for the parameter.
Retrain the model for each value of the parameter.
Test and use at least metrics to describe the performance, compiling your results into a DataFrame.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started