maxframe.learn.contrib.xgboost.callback.EarlyStopping#
- class maxframe.learn.contrib.xgboost.callback.EarlyStopping(*, rounds: int, metric_name: str | None = None, data_name: str | None = None, maximize: bool | None = None, save_best: bool | None = False, min_delta: float = 0.0, **kw)[source]#
- __init__(*, rounds: int, metric_name: str | None = None, data_name: str | None = None, maximize: bool | None = None, save_best: bool | None = False, min_delta: float = 0.0, **kw) None[source]#
Methods
__init__(*, rounds[, metric_name, ...])copy()copy_to(target)from_local(callback_obj)has_custom_code()remote_to_local(remote_obj)to_local()Attributes
maximizemetric_namedata_namemin_deltaroundssave_best