C# Класс Accord.Statistics.Analysis.ConfusionMatrix

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Combine ( ) : ConfusionMatrix

Combines several confusion matrices into one single matrix.

ConfusionMatrix ( bool predicted, bool expected ) : System

Constructs a new Confusion Matrix.

ConfusionMatrix ( int matrix ) : System

Constructs a new Confusion Matrix.

ConfusionMatrix ( int predicted, int expected, int positiveValue = 1 ) : System

Constructs a new Confusion Matrix.

ConfusionMatrix ( int truePositives, int falseNegatives, int falsePositives, int trueNegatives ) : System

Constructs a new Confusion Matrix.

ToGeneralMatrix ( ) : GeneralConfusionMatrix

Converts this matrix into a GeneralConfusionMatrix.

ToString ( ) : string

Returns a System.String representing this confusion matrix.

Описание методов

Combine() публичный статический метод

Combines several confusion matrices into one single matrix.
public static Combine ( ) : ConfusionMatrix
Результат ConfusionMatrix

ConfusionMatrix() публичный метод

Constructs a new Confusion Matrix.
public ConfusionMatrix ( bool predicted, bool expected ) : System
predicted bool The values predicted by the model.
expected bool The actual, truth values from the data.
Результат System

ConfusionMatrix() публичный метод

Constructs a new Confusion Matrix.
public ConfusionMatrix ( int matrix ) : System
matrix int
Результат System

ConfusionMatrix() публичный метод

Constructs a new Confusion Matrix.
public ConfusionMatrix ( int predicted, int expected, int positiveValue = 1 ) : System
predicted int The values predicted by the model.
expected int The actual, truth values from the data.
positiveValue int The integer label which identifies a value as positive.
Результат System

ConfusionMatrix() публичный метод

Constructs a new Confusion Matrix.
public ConfusionMatrix ( int truePositives, int falseNegatives, int falsePositives, int trueNegatives ) : System
truePositives int
falseNegatives int
falsePositives int
trueNegatives int
Результат System

ToGeneralMatrix() публичный метод

Converts this matrix into a GeneralConfusionMatrix.
public ToGeneralMatrix ( ) : GeneralConfusionMatrix
Результат GeneralConfusionMatrix

ToString() публичный метод

Returns a System.String representing this confusion matrix.
public ToString ( ) : string
Результат string