Project - Bike Rental Forecasting - Basic

27 / 32

End to End Project - Bikes Assessment - Basic - Fine-Tuning the Selected Model - Knowing Feature Importances

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.

INSTRUCTIONS
  • 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.

Get Hint

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...