plot_successive_halving
Plot of the models' scores per iteration of the successive halving. Only use with models fitted using successive halving. Ensemble models are ignored.
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, 6))
filename: str or None, optional (default=None)
display: bool or None, optional (default=True) |
Returns: |
matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y)
atom.successive_halving(
models=["tree", "et", "rf", "xgb", "lgb", "catb"],
metric="f1_weighted",
n_bootstrap=6,
)
atom.plot_successive_halving(filename="successive_halving")