plot_feature_importance_model
Generate a bar plot of feature importance from trained tree-based models to identify which features most influence predictions.
Instructions
Bar plot of feature importance from a trained model. Works with tree-based models (random_forest, gradient_boosting, decision_tree). Use after train_model to understand which features drive predictions. Example: plot_feature_importance_model(model_name="random_forest_data_train")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| save_path | No | ||
| model_name | No |