ray.tune.ExperimentAnalysis.__init__#

ExperimentAnalysis.__init__(experiment_checkpoint_path: str | PathLike, *, storage_filesystem: pyarrow.fs.FileSystem | None = None, trials: List[Trial] | None = None, default_metric: str | None = None, default_mode: str | None = None)[source]#

Initialize an ExperimentAnalysis.

Parameters:
  • experiment_checkpoint_path – Path to an experiment_state.json file, or a directory that contains an experiment_state.json file.

  • storage_filesystem – A custom pyarrow.fs.FileSystem corresponding to experiment_checkpoint_path. This may be necessary if the original experiment used a custom filesystem.

  • trials – List of trials that can be accessed via analysis.trials.

  • default_metric – Default metric for comparing results. Can be overwritten with the metric parameter in the respective functions.

  • default_mode – Default mode for comparing results. Has to be one of [min, max]. Can be overwritten with the mode parameter in the respective functions.