ray.tune.Tuner.get_results#

Tuner.get_results() ResultGrid[source]#

Get results of a hyperparameter tuning run.

This method returns the same results as fit() and can be used to retrieve the results after restoring a tuner without calling fit() again.

If the tuner has not been fit before, an error will be raised.

from ray.tune import Tuner

# `trainable` is what was passed in to the original `Tuner`
tuner = Tuner.restore("/path/to/experiment', trainable=trainable)
results = tuner.get_results()
Returns:

Result grid of a previously fitted tuning run.