Question: When building a decision tree model, one used the GridSearchCV ( ) method to search for optimal parameters, i . e . , 'max _
When building a decision tree model, one used the GridSearchCV method to search for optimal parameters, ie 'maxdepth' and 'minsamplessplit'. He set the first set of parameters as the follows:
paramgrid
'maxdepth':
'minsamplessplit':
The first attempt of GridSearchCV produces the following best parameters: Initial parameters: maxdepth': 'minsamplessplit':
How should the person set the second paramgrid? Why?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
