mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-17 12:30:35 +08:00
Code fix
This commit is contained in:
@@ -184,9 +184,7 @@ const getIsDominatedTrial2D = (normalizedValues: number[][]) => {
|
||||
// Fast pareto front algorithm (O(N log N) complexity).
|
||||
const sorted = normalizedValues
|
||||
.map((values, i) => [values[0], values[1], i])
|
||||
.sort((a, b) => {
|
||||
return a[0] - b[0]
|
||||
})
|
||||
.sort((a, b) => a[0] - b[0])
|
||||
let minValue1 = sorted[0][1]
|
||||
const dominatedTrials: boolean[] = new Array(normalizedValues.length).fill(
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user