mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-25 16:16:37 +00:00
Update flaml/tune/searcher/flow2.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
parent
6df7782c5e
commit
608c6bafdc
@ -412,7 +412,7 @@ class FLOW2(Searcher):
|
||||
if obj:
|
||||
obj = (
|
||||
{
|
||||
k: obj[k] * -1 if m == "max" else obj[k]
|
||||
k: -obj[k] if m == "max" else obj[k]
|
||||
for k, m in zip(
|
||||
self.lexico_objectives["metrics"],
|
||||
self.lexico_objectives["modes"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user