Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

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.


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