pod.plot_model_selection

plot_model_selection(cv_scores)

Generates a normalized bar chart of the Bias-Variance Tradeoff from CV scores, alongside a sorted table of the exact MSE values in best-fit order.

Parameters

Name Type Description Default
cv_scores dict Dictionary mapping model tuple containing (model_type, params) to its Cross-Validation MSE score. required

Examples

# Assuming we ran fit_robust_mean_model and saved the model
fig = plot_model_selection(model.cv_scores_)
# plt.show()