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

Fix normalization constant in WeightedMean #151

Closed juliohm closed 1 year ago

juliohm commented 2 years ago

Attempt to fix #149

juliohm commented 2 years ago

@CarloLucibello @darsnack appreciate if you can double check this change. For some reason the tests are not passing with the proposed change.

I understood that K should hold the number of observations. Am I missing something?

juliohm commented 1 year ago

Superseded by #158