mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-10 08:45:52 +00:00
update
This commit is contained in:
parent
184251a2a7
commit
b8982f7cf2
@ -91,12 +91,11 @@ class ExperimentAnalysis(EA):
|
||||
)
|
||||
feasible_value = k_values.take(feasible_index)
|
||||
f_best[k_metric] = np.min(feasible_value)
|
||||
|
||||
feasible_index_filter = np.where(
|
||||
feasible_value
|
||||
<= max(
|
||||
[
|
||||
f_best[k_metric]
|
||||
+ self.lexico_objectives["tolerances"][k_metric]
|
||||
f_best[k_metric] + self.lexico_objectives["tolerances"][k_metric]
|
||||
if not isinstance(
|
||||
self.lexico_objectives["tolerances"][k_metric], str
|
||||
)
|
||||
@ -111,7 +110,6 @@ class ExperimentAnalysis(EA):
|
||||
)
|
||||
),
|
||||
k_target,
|
||||
]
|
||||
)
|
||||
)[0]
|
||||
feasible_index = feasible_index.take(feasible_index_filter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user