mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-29 13:20:48 +08:00
Run linter
This commit is contained in:
1 parent
4df81f221d
commit
d39a2a2a63
1 file changed
+2
-1
@@ -275,7 +275,8 @@ const getOrderWithSameOrderAveraging = (values: number[]): number[] => {
|
||||
values.forEach((value) => {
|
||||
const first_index = sorted_values.indexOf(value)
|
||||
const last_index = sorted_values.lastIndexOf(value)
|
||||
const sum_of_the_value = (first_index + last_index) * (last_index - first_index + 1) / 2
|
||||
const sum_of_the_value =
|
||||
((first_index + last_index) * (last_index - first_index + 1)) / 2
|
||||
const rank = sum_of_the_value / (last_index - first_index + 1)
|
||||
ranks.push(rank)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user