invert4geom.plot_scores#
- plot_scores(scores, parameters, logx=False, logy=False, param_name='Hyperparameter', figsize=(5, 3.5), plot_title=None, fname=None, best='min')[source]#
plot a graph of cross-validation scores vs hyperparameter values
- Parameters:
logx (bool, optional) โ make the x or y axes log scale, by default False
logy (bool, optional) โ make the x or y axes log scale, by default False
param_name (str, optional) โ name to give for the parameters, by default โHyperparameterโ
figsize (tuple[float, float], optional) โ size of the figure, by default (5, 3.5)
plot_title (str | None, optional) โ title of figure, by default None
fname (str | None, optional) โ filename to save figure, by default None
best (str, optional) โ which value to plot as the best, โminโ or โmaxโ, by default โminโ
- Return type:
a matplotlib figure instance