Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this last question, we will explore the dependability of our estimates. (a) [6 points] Make a plot using the following procedure: i. Using random

For this last question, we will explore the dependability of our estimates. (a) [6 points] Make a plot using the following procedure: i. Using random state values from 0, 1, , 99 calculate the 10-fold cross-validation accuracy of different tree.DecisionTreeClassifiers with max depth settings from 1, 2, , 10. ii. Then record the best max depth settings for each random state. Be sure to check whether multiple settings achieve the best accuracy. iii. Plot the counts for the best max depth settings as a bar chart with the max depth settings on the x-axis and the best parameter counts on the y-axis (number of times that parameter was selected as the best max depth setting). This will be the sampling distribution of our best parameter estimate. Note: this calculation might take some time. For debugging, try a smaller range of random states. (b) [2 points] What are the top two most frequent parameter settings?

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

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

Create a workflow analysis.

Answered: 1 week ago