Skip to content

Commit

Permalink
updated mapped params and made ht shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-carlos-calvo committed Oct 28, 2021
1 parent f977032 commit 2626df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/base/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ train_tabnet:
class: ray.tune.suggest.optuna.OptunaSearch
kwargs: {}
# callbacks: - List[Dict]. Each dict-> class and kwarg: Dict[str,str]
num_samples: 200
num_samples: 20
verbose: 1 # level of messages to print
stop:
training_iteration: *epoch
Expand Down
2 changes: 1 addition & 1 deletion src/kendrite/pipelines/tune_model/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def create_tabnet_trainer(

def tabnet_trainer(config):
mapped_params = config_mapper(params, config)
model = neural_model(params["estimator"])
model = neural_model(mapped_params["estimator"])
fit(
model, X_train, y_train, X_valid, y_valid, mapped_params["fit"], tuning=True
)
Expand Down

0 comments on commit 2626df8

Please sign in to comment.