plot_score_vs_time_scatter

plot_score_vs_time_scatter(scores, time, time_unit='', names=None, title=None, log_time=False)[source]

Plot a scatter that compares scores and timings for a set of estimators.

Parameters:
scoresnp.array

Scores achieved by the estimators.

timenp.array

Time taken by the estimators.

time_unitstr, default=””

Unit of the time (i.e. milliseconds, seconds).

nameslist, default=None

Names of the estimators.

titlestr, default=None

Title to be shown in the top of the plot.

log_timebool, default=False

If True, time will be plotted in log scale.

Returns:
figmatplotlib.figure.Figure
axmatplotlib.axes.Axes