mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 15:16:34 +08:00
[docs] Add mode to Ray Tune quick start (#14023)
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ This example runs a parallel grid search to optimize an example objective functi
|
||||
"beta": tune.choice([1, 2, 3])
|
||||
})
|
||||
|
||||
print("Best config: ", analysis.get_best_config(metric="mean_loss"))
|
||||
print("Best config: ", analysis.get_best_config(metric="mean_loss", mode="min"))
|
||||
|
||||
# Get a dataframe for analyzing trial results.
|
||||
df = analysis.results_df
|
||||
|
||||
Reference in New Issue
Block a user