예제 #1
0
 /// <summary>
 /// Compare
 /// </summary>
 public int Compare(ConfusionMatrix <T> x, ConfusionMatrix <T> y)
 {
     if (ReferenceEquals(x, y))
     {
         return(0);
     }
     else if (x is null)
     {
         return(-1);
     }
     else if (y is null)
     {
         return(1);
     }
     else
     {
         return(x.F1Score.CompareTo(y.F1Score));
     }
 }