RetroFit Model Insights Report

Model Insights: {{ bundle.model_name }}

Type: {{ bundle.problem_type }}
Algo: {{ bundle.model_type }}
Target: {{ bundle.target_col }}
{% if bundle.run_id %}
Run ID: {{ bundle.run_id }}
{% endif %}

Data Summary

{% for c in bundle.data_summary.columns %} {% endfor %} {% for row in bundle.data_summary.rows %} {% for c in bundle.data_summary.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}

Feature Summary

{% for c in bundle.feature_summary.columns %} {% endfor %} {% for row in bundle.feature_summary.rows %} {% for c in bundle.feature_summary.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}

Core Metrics

{% for c in bundle.metrics.table.columns %} {% endfor %} {% for row in bundle.metrics.table.rows %} {% for c in bundle.metrics.table.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}

Feature Importance

{% for c in bundle.feature_importance_table.columns %} {% endfor %} {% for row in bundle.feature_importance_table.rows %} {% for c in bundle.feature_importance_table.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}
{% if bundle.interaction_importance_table and bundle.interaction_importance_table.columns %}

Interaction Importance (CatBoost)

{% for c in bundle.interaction_importance_table.columns %} {% endfor %} {% for row in bundle.interaction_importance_table.rows %} {% for c in bundle.interaction_importance_table.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}
{% endif %} {% if bundle.problem_type == "classification" and bundle.threshold_metrics_plot %}

Threshold Metrics (by threshold)

{{ bundle.threshold_metrics_plot | safe }}
{% endif %} {% if bundle.calibration_table or bundle.calibration_plot %}

Calibration

{% if bundle.calibration_plot %}
{{ bundle.calibration_plot | safe }}
{% endif %} {% if bundle.calibration_table %}

Calibration Table

{% for c in bundle.calibration_table.columns %} {% endfor %} {% for row in bundle.calibration_table.rows %} {% for c in bundle.calibration_table.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}
{% endif %}
{% endif %} {% if bundle.actual_vs_pred_plot %}

Actual vs Predicted

{{ bundle.actual_vs_pred_plot | safe }}
{% endif %} {% if bundle.residuals_plot %}

Residuals vs Predicted

{{ bundle.residuals_plot | safe }}
{% endif %} {% if bundle.residual_dist_plot %}

Residual Distribution

{{ bundle.residual_dist_plot | safe }}
{% endif %} {% if bundle.prediction_dist_plot %}

Prediction Distribution Overlay

{{ bundle.prediction_dist_plot | safe }}
{% endif %} {% if bundle.roc_plot %}

ROC Curve

{{ bundle.roc_plot | safe }}
{% endif %} {% if bundle.pr_plot %}

PR Curve

{{ bundle.pr_plot | safe }}
{% endif %} {% if bundle.shap_summary_table %}

SHAP Summary

{% if bundle.shap_summary_plot %}
{{ bundle.shap_summary_plot | safe }}
{% endif %}

Top Features by mean(|SHAP|)

{% for c in bundle.shap_summary_table.columns %} {% endfor %} {% for row in bundle.shap_summary_table.rows %} {% for c in bundle.shap_summary_table.columns %} {% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}
{% endif %} {% if bundle.shap_dependence_plots %}

SHAP Dependence Plots

{% for dep in bundle.shap_dependence_plots %}
{{ dep.feature }}
{{ dep.html | safe }}
{% endfor %}
{% endif %} {% if bundle.pdp_numeric_plots %}

Partial Dependence: Numeric Features

{% for pdp in bundle.pdp_numeric_plots %}
{{ pdp.feature }}
{{ pdp.html | safe }}
{% endfor %}
{% endif %} {% if bundle.pdp_categorical_plots %}

Partial Dependence: Categorical Features

{% for pdp in bundle.pdp_categorical_plots %}
{{ pdp.feature }}
{{ pdp.html | safe }}
{% endfor %}
{% endif %}