plot_bo
Plot the bayesian optimization scores. Only for models that ran
hyperparameter tuning. This is the same plot as the one produced
by bo_params={"plot": True}
while running the BO. Creates a
canvas with two plots: the first plot shows the score of every trial
and the second shows the distance between the last consecutive steps.
Parameters: |
models: str, sequence or None, optional (default=None)
metric: int or str, optional (default=0)
title: str or None, optional (default=None)
figsize: tuple, optional (default=(10, 8))
filename: str or None, optional (default=None)
display: bool or None, optional (default=True) |
Returns: |
fig: matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y)
atom.run(["LDA", "LGB"], metric="f1", n_calls=24, n_initial_points=10)
atom.plot_bo()