Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I would like help with plotting the curve of accuracy against base classifier depth, this uses python 3 and juypter, please help. 2. NEW: In
I would like help with plotting the curve of accuracy against base classifier depth, this uses python 3 and juypter, please help.
2. NEW: In this problem we will see a toy example of how to use AdaBoost. Please read the documentation on AdaBoost Classifier in sklearn, including how to set the base weak learner (i.e. the base_estimator). We will use the Wisconsin breast cancer data set again. For each depth in 1,...,5, instantiate an AdaBoost classifier with the base learner set to be a decision tree of that depth, and then record the 10-fold cross-validated error on the entire breast cancer data set. Plot the resulting curve of accuracy against base classifier depthStep 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