JuliaML / LossFunctions.jl

Julia package of loss functions for machine learning.
https://juliaml.github.io/LossFunctions.jl/stable
Other
148 stars 34 forks source link

Revert order of arguments #159

Closed juliohm closed 1 year ago

juliohm commented 1 year ago

This PR reverts the order from (target, output) to (output, target), which matches with other ecosystems in Julia as discussed in #126.

codecov-commenter commented 1 year ago

Codecov Report

Merging #159 (91c8562) into master (12c0ff1) will decrease coverage by 1.48%. The diff coverage is 86.04%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
- Coverage   93.62%   92.14%   -1.48%     
==========================================
  Files          11       11              
  Lines         580      573       -7     
==========================================
- Hits          543      528      -15     
- Misses         37       45       +8     
Impacted Files Coverage Δ
src/supervised/distance.jl 99.47% <ø> (ø)
src/supervised/ordinal.jl 0.00% <0.00%> (-64.00%) :arrow_down:
src/traits.jl 100.00% <ø> (ø)
src/supervised/other.jl 91.11% <77.77%> (ø)
src/supervised.jl 100.00% <100.00%> (ø)
src/supervised/scaled.jl 83.33% <100.00%> (+1.51%) :arrow_up:
src/supervised/weighted.jl 89.47% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.