/// <summary>
 /// Add a set of evaluation metrics to the set of observations.
 /// </summary>
 /// <param name="metrics">The observed binary classification evaluation metric</param>
 public override void Add(BinaryClassificationMetrics metrics)
 {
     Auc.Add(metrics.AreaUnderRocCurve);
     Accuracy.Add(metrics.Accuracy);
     PositivePrecision.Add(metrics.PositivePrecision);
     PositiveRecall.Add(metrics.PositiveRecall);
     NegativePrecision.Add(metrics.NegativePrecision);
     NegativeRecall.Add(metrics.NegativeRecall);
     F1Score.Add(metrics.F1Score);
     Auprc.Add(metrics.AreaUnderPrecisionRecallCurve);
 }
Exemple #2
0
 /// <summary>
 /// Add a set of evaluation metrics to the set of observations.
 /// </summary>
 /// <param name="metrics">The observed binary classification evaluation metric</param>
 void IMetricsStatistics <BinaryClassificationMetrics> .Add(BinaryClassificationMetrics metrics)
 {
     AreaUnderRocCurve.Add(metrics.AreaUnderRocCurve);
     Accuracy.Add(metrics.Accuracy);
     PositivePrecision.Add(metrics.PositivePrecision);
     PositiveRecall.Add(metrics.PositiveRecall);
     NegativePrecision.Add(metrics.NegativePrecision);
     NegativeRecall.Add(metrics.NegativeRecall);
     F1Score.Add(metrics.F1Score);
     AreaUnderPrecisionRecallCurve.Add(metrics.AreaUnderPrecisionRecallCurve);
 }