ray.train.xgboost.XGBoostTrainer.can_restore#
- classmethod XGBoostTrainer.can_restore(path: str | PathLike, storage_filesystem: pyarrow.fs.FileSystem | None = None) bool #
Checks whether a given directory contains a restorable Train experiment.
- Parameters:
path – The path to the experiment directory of the Train experiment. This can be either a local directory (e.g., ~/ray_results/exp_name) or a remote URI (e.g., s3://bucket/exp_name).
- Returns:
Whether this path exists and contains the trainer state to resume from
- Return type: