Function all_threshold_metrics
Source pub fn all_threshold_metrics<S1, S2>(
y_true: &ArrayBase<S1, Ix1>,
y_score: &ArrayBase<S2, Ix1>,
) -> Result<Vec<ThresholdMetrics>>
Expand description
Calculate metrics at all possible thresholds
§Arguments
y_true - Binary true labels (0 or 1)
y_score - Predicted scores (probabilities)
§Returns
Result<Vec<ThresholdMetrics>> - Metrics at all thresholds