use-ml-metric
Metric name, value, and direction metadata primitives for RustUse.
Experimental
use-ml-metric is experimental while use-ml remains below 0.3.0.
Example
use ;
let name = new?;
let value = new?;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Metric names, finite metric values, directions, aggregations, and metric categories.
- Generic classification, regression, ranking, clustering, and generation metric labels.
- Obvious metric-direction helpers.
Non-goals
- Complete metric calculation implementations in v0.1.
- LLM-specific metrics such as faithfulness, groundedness, toxicity, refusal quality, jailbreak resistance, instruction following, or answer relevance.
License
Licensed under either Apache-2.0 or MIT.