Login using Social Account
     Continue with GoogleLogin using your credentials
Now, since we have applied the Grid Search on the selected model and got the 'best estimator' and 'best parameters', let us find the importance scores of each of the features of the Training dataset.
Get the relative importance of each feature (of the Training data set) by using feature_importances_
variable of the grid_search
object, and save it in a variable called feature_importances
.
feature_importances = grid_search.best_estimator_.<<your code comes here>>
Print feature_importances
variable values using print()
function.
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
Loading comments...