lightgbm.CVBooster
- class lightgbm.CVBooster[source]
Bases:
objectCVBooster in LightGBM.
Auxiliary data structure to hold and redirect all boosters of
cvfunction. This class has the same methods as Booster class. All method calls are actually performed for underlying Boosters and then all returned results are returned in a list.- boosters
The list of underlying fitted models.
- Type:
list of Booster
- best_iteration
The best iteration of fitted model.
- Type:
int
Methods
__init__()Initialize the CVBooster.