plot_evals
Plot evaluation curves for the train and test set. Only for models that allow in-training evaluation (XGB, LGB, CatB). The metric is provided by the estimator's package and is different for every model and every task. For this reason, the method only allows plotting one model.
Parameters: |
models: str, sequence or None, optional (default=None)
dataset: str, optional (default="both")
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 ATOMRegressor
atom = ATOMRegressor(X, y)
atom.run(["Bag", "LGB"])
atom.lgb.plot_evals()