Fix overlooked typo. (#1158)

Without this the example script would crash with an UnboundLocalError.
This commit is contained in:
Abishek Bhat 2017-10-25 20:10:52 +05:30 committed by Philipp Moritz
parent cd9dc398ff
commit 6da7761d5d

View file

@ -39,7 +39,7 @@ if __name__ == "__main__":
validation_labels = ray.put(mnist.validation.labels) validation_labels = ray.put(mnist.validation.labels)
# Keep track of the best hyperparameters and the best accuracy. # Keep track of the best hyperparameters and the best accuracy.
best_hyperparamemeters = None best_hyperparameters = None
best_accuracy = 0 best_accuracy = 0
# This list holds the object IDs for all of the experiments that we have # This list holds the object IDs for all of the experiments that we have
# launched and that have not yet been processed. # launched and that have not yet been processed.