ComparisonReport.feature_importance.coefficients#
- ComparisonReport.feature_importance.coefficients()[source]#
Retrieve the coefficients for each report, including the intercepts.
If the compared reports are
EstimatorReportinstances, the coefficients from each report’s estimator are returned as a single-column DataFrame.If the compared reports are
CrossValidationReportinstances, the coefficients across all cross-validation splits are retained and the columns are prefixed with the corresponding estimator name to distinguish them.Comparison reports with the same features are put under one key and are plotted together. When some reports share the same features and others do not, those with the same features are plotted together.
- Returns:
FeatureImportanceCoefficientsDisplayThe feature importance display containing model coefficients and intercept.