ray.train.lightgbm.LightGBMPredictor.from_checkpoint
ray.train.lightgbm.LightGBMPredictor.from_checkpoint#
- classmethod LightGBMPredictor.from_checkpoint(checkpoint: ray.air.checkpoint.Checkpoint) ray.train.lightgbm.lightgbm_predictor.LightGBMPredictor[source]#
Instantiate the predictor from a Checkpoint.
The checkpoint is expected to be a result of
LightGBMTrainer.- Parameters
checkpoint – The checkpoint to load the model and preprocessor from. It is expected to be from the result of a
LightGBMTrainerrun.