Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perib committed Oct 16, 2023
1 parent 8e53a91 commit 82676cc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,9 @@ def _mutate_hyperparameters(self):
continue

if not completed_one:

_,_, completed_one = get_hyperparameter(self.select_config_dict(node)[node.method_class], nodelabel=node, alpha=self.hyperparameter_alpha, hyperparameter_probability=self.hyperparameter_probability)
else:
if self.hyper_node_probability < random.random():
if self.hyper_node_probability > random.random():
get_hyperparameter(self.select_config_dict(node)[node.method_class], nodelabel=node, alpha=self.hyperparameter_alpha, hyperparameter_probability=self.hyperparameter_probability)

return completed_one
Expand Down

0 comments on commit 82676cc

Please sign in to comment.