ModelEvaluatorPlot
- class ModelEvaluatorPlot[source]
Plotting class for
ModelEvaluatorresults.Visualizes the two
ModelEvaluatortables:scores()draws grouped confidence-interval bars of the cross-validated scores per (model, metric) fromModelEvaluator.run(), andcompare()draws the paired model comparison fromModelEvaluator.eval()as signed delta bars with bootstrap-CI whiskers and significance markers.learning_curve()draws the metric versus training size fromModelEvaluator.learning_curve()with a CI band.Every plotting method returns a
(fig, ax)pair (a thin tuple subclass): unpack asfig, ax = .... For backward compatibility, the returned object also forwards attribute access toax.Added in version 1.1.0.
Changed in version 1.2.0: Added
learning_curve()for learning-curve tables.See also
ModelEvaluatorfor the logic class whose results this visualizes.
Methods
compare(df_eval, *[, figsize, colors, alpha])Plot the paired model comparison as signed delta bars with CI whiskers.
learning_curve(df_curve, *[, metric, ...])Plot a learning curve: one metric versus training size per model, with a CI band.
scores(df_eval, *[, figsize, colors, metrics])Plot cross-validated scores per (model, metric) as grouped bars with CI error bars.
- __init__()[source]
See also
ModelEvaluator: the logic class whose evaluation and comparison this visualizes.