Skip to content

Commit

Permalink
Hotfix RUSBoost replacement hp value space.
Browse files Browse the repository at this point in the history
  • Loading branch information
AxiomAlive committed Feb 20, 2025
1 parent 8f0ea5e commit 6083e8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config_spaces/ensemble/boost.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def generate_algorithm_configuration_space(cls, model_class=None):


class RUSBoostGenerator(AdaGenerator):
replacement = hp.choice("rus_boost.replacement", [True, False])
replacement = False

@classmethod
def generate_algorithm_configuration_space(cls, model_class=None):
Expand Down
2 changes: 2 additions & 0 deletions experiment/imba.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def trainable(config):
ray.train.report(trial_result)


#TODO: use ray.tune.Trainable directly
#
# class RayTrainable(ray.tune.Trainable):
# def setup(self, config):
# self.algorithm_configuration = config["algorithm_configuration"]
Expand Down

0 comments on commit 6083e8d

Please sign in to comment.