plot_successive_halving
Plot of the models' scores per iteration of the successive halving. Only available if the models were fitted using successive halving.
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: |
fig: matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y)
atom.successive_halving(
models=["bag", "adab", "et", "lgb"],
metric="ap",
n_bootstrap=5,
)
atom.plot_successive_halving(filename="successive_halving")