Skip to content

Commit

Permalink
Remove references to removed l1 penalty
Browse files Browse the repository at this point in the history
  • Loading branch information
bhancock8 committed Sep 7, 2018
1 parent f25849e commit c215a87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion metal/end_model/em_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
# Train Loop
"n_epochs": 10,
# 'grad_clip': 0.0,
"l1": 0.0,
"l2": 0.0,
"validation_metric": "accuracy",
"validation_freq": 1,
Expand Down
2 changes: 1 addition & 1 deletion metal/tuners/tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def config_generator(search_space, max_search, shuffle=True):
search_space = {
'verbose': True, # discrete
'n_epochs': 100, # discrete
'l1': [0.0, 0.01, 0.1], # discrete
'momentum': [0.0, 0.9, 0.99], # discrete
'l2': {'range': [0.0001, 10]} # linear range
'lr': {'range': [0.001, 1], 'scale': 'log'}, # log range
}
Expand Down

0 comments on commit c215a87

Please sign in to comment.