Skip to content

Commit

Permalink
Fix defaults (#31)
Browse files Browse the repository at this point in the history
Adds non-`None` defaults for `num_trials` and `direction` in lagom
  • Loading branch information
moritzmeister authored and ssheikholeslami committed Nov 8, 2019
1 parent ee19120 commit a3666d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maggy/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

def lagom(map_fun, name='no-name',
experiment_type='optimization', hb_interval=1,
num_trials=None, searchspace=None, optimizer=None, direction=None,
num_trials=1, searchspace=None, optimizer=None, direction='max',
ablation_study=None, ablator=None,
es_policy='median', es_interval=300, es_min=10, description=''):
"""Launches a maggy experiment, which depending on `experiment_type` can
Expand Down

0 comments on commit a3666d9

Please sign in to comment.