Let us instantiate the GridSearchCV class by passing to it the selected model and other required parameters.
Let us instantiate the GridSearchCV class by passing to it the following:
param_grid
list (with hyperparameters combinations) that we created in the previous stepcv
parameter with value 5 (cv=5)neg_mean_squared_error
Store this instance in grid_search
variable.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Please login to comment
0 Comments
There are 15 new comments.