IProbabilisticClassificationMetric<T>

Interfaces · AiDotNet.Evaluation.Metrics

Interface for classification metrics that use probabilities.

Implements: IMetric<T>

Known implementations: AUCROCMetric<T>, BrierScoreMetric<T>, GiniCoefficientMetric<T>, LogLossMetric<T>

Methods

Method Summary
MetricWithCI<T> ComputeWithCI(ReadOnlySpan<T> probabilities, ReadOnlySpan<T> actuals, int numClasses, ConfidenceIntervalMethod ciMethod, double confidenceLevel, int bootstrapSamples, int? randomSeed) Computes the metric with confidence interval.
T Compute(ReadOnlySpan<T> probabilities, ReadOnlySpan<T> actuals, int numClasses) Computes the metric from predicted probabilities and actual labels.