ray.train.Result#
- class ray.train.Result(metrics: Dict[str, Any] | None, checkpoint: Checkpoint | None, error: TrainingFailedError | None, path: str, metrics_dataframe: pandas.DataFrame | None = None, best_checkpoints: List[Tuple[Checkpoint, Dict[str, Any]]] | None = None, _storage_filesystem: pyarrow.fs.FileSystem | None = None)#
Bases:
ResultThe output of a Ray Train run.
- property config: Dict[str, Any] | None#
Warning
DEPRECATED: This API is deprecated and may be removed in future Ray releases.
- classmethod from_path(path: str | PathLike, storage_filesystem: pyarrow.fs.FileSystem | None = None) Result[source]#
Restore a training result from a previously saved training run path.
- Parameters:
path – Path to the run output directory
storage_filesystem – Optional filesystem to use for accessing the path
- Returns:
Result object with restored checkpoints and metrics