ModelEvaluatorPlot

class ModelEvaluatorPlot[source]

Bases: object

Plotting class for ModelEvaluator results.

Visualizes the two ModelEvaluator tables: scores() draws grouped confidence-interval bars of the cross-validated scores per (model, metric) from ModelEvaluator.run(), and compare() draws the paired model comparison from ModelEvaluator.eval() as signed delta bars with bootstrap-CI whiskers and significance markers.

Every plotting method returns a (fig, ax) pair (a thin tuple subclass): unpack as fig, ax = .... For backward compatibility, the returned object also forwards attribute access to ax.

Added in version 1.1.0.

See also

Methods

compare(df_eval[, figsize, colors, alpha])

Plot the paired model comparison as signed delta bars with CI whiskers.

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.