LossFunctions.jl icon indicating copy to clipboard operation
LossFunctions.jl copied to clipboard

Julia package of loss functions for machine learning.

Results 10 LossFunctions.jl issues
Sort by recently updated
recently updated
newest added

It seems I can't use the loss functions in this package for either SparseVectors or Flux's tracked vectors. Is there a good reason why a general `AbstractVector{ using LossFunctions julia>...

help wanted

I would like to add a simple Hausdorff Loss as proposed in (DOI: 10.1109/TMI.2019.2930068) It approximates the Hausdorff distance to allow for direct minimization of the HD during training ```julia...

help wanted

Feature Request: Add [quadratic weighted kappa](https://www.kaggle.com/c/petfinder-adoption-prediction#evaluation) loss function.

help wanted

Dear all, I would like to propose a major refactoring of the codebase to *simplify* future additions and generalizations, and to facilitate future contributions. I think we are overusing macros...

enhancement
discussion

Hi all and thanks for the this very useful package ! It could be helpful to get in addition to the islipschitzcont attribute, another attribute that gives the value of...

help wanted

Maximizing the expected log posterior density (ELPD) is a common objective function in Bayesian inference and Bayesian neural networks, and I'd be interested in having it as a loss function...

help wanted

Perhaps I'm missing something, but this does not appear to exist at present. For most losses with a parameter, you access using property, as in ```julia loss = HuberLoss(0.5) julia>...

enhancement

This looks like a bug to me: ```julia julia> y = rand(3); yhat = rand(3); w = rand(3); julia> value(L1DistLoss(), y, yhat, AggMode.WeightedMean(w, normalize=false)) 0.4515037807304132 julia> value(L1DistLoss(), y, yhat, AggMode.WeightedSum(w,...

bug

One bridge we have to cross sooner or later are multiclass problems. There are mutliclass extensions or formulations for a couple of losses that we have. A particular interesting example...

discussion