Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
lightgbm.callback.EarlyStopException Class Reference
Inheritance diagram for lightgbm.callback.EarlyStopException:

Public Member Functions

 __init__ (self, best_iteration, best_score)
 

Data Fields

 best_iteration
 
 best_score
 

Detailed Description

Exception of early stopping.

Constructor & Destructor Documentation

◆ __init__()

lightgbm.callback.EarlyStopException.__init__ (   self,
  best_iteration,
  best_score 
)
Create early stopping exception.

Parameters
----------
best_iteration : int
    The best iteration stopped.
best_score : float
    The score of the best iteration.

The documentation for this class was generated from the following file: