ConfusionMatrix.GetCountForClassPair(Int32, Int32) 方法

定义

获取对 predictedClassIndicatorIndex/actualClassIndicatorIndex的混淆表计数。

public double GetCountForClassPair (int predictedClassIndicatorIndex, int actualClassIndicatorIndex);
member this.GetCountForClassPair : int * int -> double
Public Function GetCountForClassPair (predictedClassIndicatorIndex As Integer, actualClassIndicatorIndex As Integer) As Double

参数

predictedClassIndicatorIndex
Int32

Microsoft.ML.Data.ConfusionMatrix.PredictedClassesIndicators预测的标签指示器的索引。

actualClassIndicatorIndex
Int32

实际标签指示器的索引,在 Microsoft.ML.Data.ConfusionMatrix.PredictedClassesIndicators.

返回

适用于