From 6da7761d5d327d740b86e62fea2f3ada36f8046c Mon Sep 17 00:00:00 2001 From: Abishek Bhat Date: Wed, 25 Oct 2017 20:10:52 +0530 Subject: [PATCH] Fix overlooked typo. (#1158) Without this the example script would crash with an UnboundLocalError. --- examples/hyperopt/hyperopt_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hyperopt/hyperopt_simple.py b/examples/hyperopt/hyperopt_simple.py index d1a400477..1a22f7c1d 100644 --- a/examples/hyperopt/hyperopt_simple.py +++ b/examples/hyperopt/hyperopt_simple.py @@ -39,7 +39,7 @@ if __name__ == "__main__": validation_labels = ray.put(mnist.validation.labels) # Keep track of the best hyperparameters and the best accuracy. - best_hyperparamemeters = None + best_hyperparameters = None best_accuracy = 0 # This list holds the object IDs for all of the experiments that we have # launched and that have not yet been processed.