Skip to content

Commit

Permalink
Fix hyperopt space label error
Browse files Browse the repository at this point in the history
  • Loading branch information
yul.kk authored and lucas(김광섭) committed Oct 13, 2020
1 parent d8af029 commit fbb1a14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buffalo/algo/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ def get_default_optimize_option(self):
'd': ['randint', ['d', 10, 30]],
'reg_u': ['uniform', ['reg_u', 0.1, 1]],
'reg_i': ['uniform', ['reg_i', 0.1, 1]],
'reg_c': ['uniform', ['reg_i', 0.1, 1]],
'reg_c': ['uniform', ['reg_c', 0.1, 1]],
'alpha': ['randint', ['alpha', 1, 32]],
'l': ['randint', ['alpha', 1, 32]]
'l': ['randint', ['l', 1, 32]]
}
})
return Option(opt)
Expand Down Expand Up @@ -366,7 +366,7 @@ def get_default_option(self):
return Option(opt)

def get_default_optimize_option(self):
"""Optimization options for BPRMF.
"""Optimization options for WARP.
"""
opt = super().get_default_optimize_option()
opt.update({
Expand All @@ -380,7 +380,7 @@ def get_default_optimize_option(self):
'threshold': ['uniform', ['threshold', 0.5, 5.0]],
'reg_u': ['uniform', ['reg_u', 0.01, 1.0]],
'reg_i': ['uniform', ['reg_i', 0.0, 0.001]],
'reg_j': ['uniform', ['reg_i', 0.0, 0.001]]
'reg_j': ['uniform', ['reg_j', 0.0, 0.001]]
}
})
return Option(opt)
Expand Down

0 comments on commit fbb1a14

Please sign in to comment.