mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
remove unnecessary condition
This commit is contained in:
@@ -181,9 +181,6 @@ const getIsDominatedND = (normalizedValues: number[][]) => {
|
||||
}
|
||||
|
||||
const getIsDominated2D = (normalizedValues: number[][]) => {
|
||||
if (normalizedValues.length === 0) {
|
||||
return []
|
||||
}
|
||||
// Fast pareto front algorithm (O(N log N) complexity).
|
||||
const sorted = normalizedValues
|
||||
.map((values, i) => [values[0], values[1], i])
|
||||
|
||||
Reference in New Issue
Block a user