mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-10 12:23:22 +08:00
Update optuna_dashboard/ts/components/GraphParetoFront.tsx
This commit is contained in:
@@ -184,7 +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) => a[0] - b[0])
|
||||
.sort()
|
||||
let minValue1 = sorted[0][1]
|
||||
const dominatedTrials: boolean[] = new Array(normalizedValues.length).fill(
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user