mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 11:44:39 +08:00
Fix: 'hyperopt_adaptive' example keeps fake 'best_hyperparameters' (#883)
This commit is contained in:
committed by
Robert Nishihara
parent
4db45c9c54
commit
8099cdeb9d
@@ -105,7 +105,7 @@ if __name__ == "__main__":
|
||||
|
||||
# Update the best accuracy and best hyperparameters.
|
||||
if accuracy > best_accuracy:
|
||||
best_hyperparameters = hyperparameters
|
||||
best_hyperparameters = previous_info["hyperparameters"]
|
||||
best_accuracy = accuracy
|
||||
|
||||
if is_promising(previous_info):
|
||||
|
||||
Reference in New Issue
Block a user