Metrics #38
Replies: 5 comments 8 replies
-
List of metrics provided by JuliaAI/MLJBase. |
Beta Was this translation helpful? Give feedback.
-
One of the issues that likely led to the fragmentation is competing use-cases. Consider, for example, the ubiquitous and seemingly innocuous log loss (aka cross entropy, or negative log score). What might the arguments in a call
The point I want to make is that no single package should implement all this functionality for log loss. This is not the only issue facing us, but I suggest it's the one that should be addressed first. What would be useful, from my point-of-view, is a
1-3 are doable. I suggest getting consensus around 4 will be challenging (I've been there before!). Which may be an argument for keeping the type heirarchy very basic, because traits can be strapped on later, or by client packages. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
You are right. Having pure functions makes sense. However, types are inevitable at some level (users don't want to do |
Beta Was this translation helpful? Give feedback.
-
MLJBase.jl will shortly remove it's built-in metrics, which are to be provided instead by a new external package StatisticalMeasures.jl. Also new is StatisticalMeausuresBase.jl which specifies an API for metrics and wrappers for adding functionality. @ToucheSir Perhaps you could please update your list above accordingly. |
Beta Was this translation helpful? Give feedback.
-
This is a great resource. Could copy the list for a page on juliapackagecomparisons.github.io? |
Beta Was this translation helpful? Give feedback.
-
Metrics. Everybody needs them, nobody knows which ones to use! Here is a necessarily non-exhaustive list of packages that have them (in alphabetical order):
https://github.com/JuliaAI/MLJBase.jlhttps://github.com/JuliaAI/StatisticalMeasures.jlGetting lost among packages is certainly not a theoretical concern, as evidenced by frequent questions such as https://discourse.julialang.org/t/r2-in-mlj-machine-learning/66310.
Prior work has looked at API coverage for certain packages, but I don't believe there's been much if any communication between packages or package ecosystems. At the risk of invoking XKCD #927, I think there are opportunities here for deduplication. Thoughts and ideas very much welcome.
Beta Was this translation helpful? Give feedback.
All reactions