Feature Importance Plot

[Solved] Feature Importance Plot | Shell - Code Explorer | yomemimo.com
Question : feature importance plot

Answered by : hurt-horse-i10y9ovttxtu

sorted_idx = rf.feature_importances_.argsort()
plt.barh(boston.feature_names[sorted_idx], rf.feature_importances_[sorted_idx])
plt.xlabel("Random Forest Feature Importance")

Source : https://mljar.com/blog/feature-importance-in-random-forest/ | Last Update : Sun, 16 May 21

Answers related to feature importance plot

Code Explorer Popular Question For Shell