get_model#

classmethod LightGBMTrainer.get_model(checkpoint: Checkpoint) → lightgbm.Booster[source]#

Retrieve the LightGBM model stored in this checkpoint.

Parameters:

checkpoint (Checkpoint) – A checkpoint that RayTrainReportCallback saved with its default filename.

Returns:

The lightgbm.Booster loaded from the checkpoint.

Return type:

lightgbm.Booster