mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
fix: get_metric_direction for aerial-cactus-identification (#970)
This commit is contained in:
@@ -202,6 +202,8 @@ def get_metric_direction(competition: str) -> bool:
|
||||
Return **True** if the metric is *bigger is better*, **False** if *smaller is better*.
|
||||
"""
|
||||
leaderboard = leaderboard_scores(competition)
|
||||
if float(leaderboard[0]) == float(leaderboard[-1]):
|
||||
return float(leaderboard[0]) >= 0.5
|
||||
return float(leaderboard[0]) > float(leaderboard[-1])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user