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

Do not export traits by default #170

Closed juliohm closed 11 months ago

juliohm commented 12 months ago

We need to introduce a submodule Traits that users can import explicitly to avoid namespace pollution. The result should read:

using LossFunctions # no traits exported
using LossFunctions.Traits # export all trait functions: isconvex, isdistancebased, ...