Skip to content

Commit

Permalink
added missing deps and get tests to work
Browse files Browse the repository at this point in the history
  • Loading branch information
picciama committed Oct 16, 2024
1 parent 77a6ca8 commit 8e0d639
Show file tree
Hide file tree
Showing 6 changed files with 1,290 additions and 51 deletions.
2 changes: 1 addition & 1 deletion drevalpy/models/drp_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_hyperparameter_set(cls, hyperparameter_file: Optional[str] = None):
hyperparameter_file = os.path.join(os.path.dirname(inspect.getfile(cls)), "hyperparameters.yaml")

with open(hyperparameter_file, encoding="utf-8") as f:
hpams = yaml.safe_load(f, Loader=yaml.FullLoader)[cls.model_name]
hpams = yaml.load(f, Loader=yaml.FullLoader)[cls.model_name]
if hpams is None:
return [{}]
# each param should be a list
Expand Down
Loading

0 comments on commit 8e0d639

Please sign in to comment.