Only Few Seats Left for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT Roorkee
Apply NowNow, 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.
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...