JuliaML / LossFunctions.jl

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

Add regularization to loss functions #81

Closed ChrisRackauckas closed 7 years ago

ChrisRackauckas commented 7 years ago

It would be cool to be able to specify some function from https://github.com/JuliaML/PenaltyFunctions.jl to use as a regularization term in a loss function. This will make this setup able to capture most of the common loss functions more easily.

Evizero commented 7 years ago

Penalties are not part of the Loss as we see it. it is part of the structural risk, which is out of scope of this package and as such intended to be in its own. I just did not find the time to start it yet