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

Remove ObsDim to generalize the code for iterables of observations #158

Closed juliohm closed 1 year ago

juliohm commented 1 year ago

This PR drops the ObsDim submodule and its types in favor of a more generic interface with iterables of observations as discussed in #126. It doesn't make much sense to support n-dimensional arrays when we can gain many more features by assuming that observations implement some basic interface (e.g. AbstractVector).

Also fixes #149