setEarlyStoppingParams
API Definition
def setEarlyStoppingParams(adding_pref: int, patience: int) -> int
Function
Sets the early stopping parameters.
Parameters
Parameter |
Description |
Data Type |
Value Range |
|---|---|---|---|
adding_pref |
Threshold for inserting the hyperparameter candidate set. |
int |
≥ 1. |
patience |
Retrieval patience value. |
int |
≥ 1. |
Return Value
Data Type |
Description |
|---|---|
int |
This API is a wrapper for an underlying C++ API, which controls exception handling. |
Parent topic: Python