Since Ray-2.7.0 calling fetch_trial_dataframes() raises an exception.
Code in tune_sklearn-0.4.6: tune_sklearn/tune_basesearch.py", line 778, in _format_results
def _format_results(self, n_splits, out):
"""Helper to generate the ``cv_results_`` dictionary.
Args:
n_splits (int): integer specifying the number of folds when doing
cross-validation.
out (:obj:`ExperimentAnalysis`): Object returned by `tune.run`.
Returns:
results (:obj:`dict`): Dictionary of results to use for the
interface's ``cv_results_``.
"""
trials = [
trial for trial in out.trials if trial.status == Trial.TERMINATED
]
trial_dirs = [trial.logdir for trial in trials]
# The result dtaframes are indexed by their trial logdir
trial_dfs = out.fetch_trial_dataframes()
Code in ray-2.7.0: ray/tune/analysis/experiment_analysis.py", line 745, in fetch_trial_dataframes
def fetch_trial_dataframes(self) -> Dict[str, DataFrame]:
raise DeprecationWarning(
"`fetch_trial_dataframes` is deprecated. "
"Access the `trial_dataframes` property instead."
)
Since Ray-2.7.0 calling fetch_trial_dataframes() raises an exception.
Code in tune_sklearn-0.4.6: tune_sklearn/tune_basesearch.py", line 778, in _format_results
Code in ray-2.7.0: ray/tune/analysis/experiment_analysis.py", line 745, in fetch_trial_dataframes