himalaya.viz.plot_alphas_diagnostic¶
- himalaya.viz.plot_alphas_diagnostic(best_alphas, alphas, ax=None)[source]¶
Plot a diagnostic plot for the selected alphas during cross-validation.
To figure out whether to increase the range of alphas.
- Parameters
- best_alphasarray of shape (n_targets, )
Alphas selected during cross-validation for each target.
- alphasarray of shape (n_alphas)
Alphas used while fitting the model.
- axNone or figure axis
- Returns
- axfigure axis