FeatureImportancePlotter#
- class openstef_models.explainability.FeatureImportancePlotter(**data: Any) None[source]#
Bases:
BaseConfigCreates treemap visualizations of feature importance scores.
- Parameters:
data (
Any)
- static plot(scores: DataFrame, quantile: Quantile = Q(0.5)) Figure[source]#
Generate interactive treemap showing feature importance.
Creates a color-coded treemap where each box size and color intensity represents the relative importance of a feature. Useful for quickly identifying which features contribute most to model predictions.
- Parameters:
- Returns:
Plotly Figure containing interactive treemap with hover information. Larger boxes and darker green colors indicate higher importance.
- Return type:
Figure