You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which are sorted with the exception of one element differing from the next by machine eps. Similar issue has been already reported in StatsBase pkg JuliaStats/StatsBase.jl#164 and solved by reordering of arithmetic operations in case of values with similar magnitude. In the case of different magnitudes the problem seems to be even more edge case and may be better to solve it on this end rather than rely on changes to base Julia.
The text was updated successfully, but these errors were encountered:
Computing thresholds on short vectors (by default 300 values or less) may produce unsorted results due to floating point arithmetic errors.
In particular given these lables/scores data.txt, containing values with different magnitudes, the call to
quantile
atEvalMetrics.jl/src/thresholds.jl
Lines 50 to 64 in 466ea78
which are sorted with the exception of one element differing from the next by machine
eps
. Similar issue has been already reported in StatsBase pkg JuliaStats/StatsBase.jl#164 and solved by reordering of arithmetic operations in case of values with similar magnitude. In the case of different magnitudes the problem seems to be even more edge case and may be better to solve it on this end rather than rely on changes to base Julia.The text was updated successfully, but these errors were encountered: