GeneralConfusionMatrix Class 
Namespace: Accord.Statistics.Analysis
The GeneralConfusionMatrix type exposes the following members.
Name  Description  

GeneralConfusionMatrix(Int32) 
Creates a new Confusion Matrix.
 
GeneralConfusionMatrix(Double, Int32) 
Creates a new Confusion Matrix.
 
GeneralConfusionMatrix(Int32, Int32, Int32) 
Creates a new Confusion Matrix.

Name  Description  

ChanceAgreement 
Chance agreement.
 
ChiSquare 
Gets the ChiSquare statistic for the contingency table.
 
Classes 
Gets the number of classes.
 
ColumnProportions 
Gets the column marginals (proportions).
 
ColumnTotals 
Gets the column totals.
 
Cramer 
Cramer's V association measure.
 
Diagonal 
Gets the diagonal of the confusion matrix.
 
ExpectedValues 
Expected values, or values that could
have been generated just by chance.
 
GeometricAgreement 
Geometric agreement.
 
Kappa 
Gets the Kappa coefficient of performance.
 
Matrix 
Gets the confusion matrix, in which each element e_ij
represents the number of elements from class i classified
as belonging to class j.
 
Max 
Gets the maximum number of correct
matches (the maximum over the diagonal)
 
Min 
Gets the minimum number of correct
matches (the minimum over the diagonal)
 
OverallAgreement 
Overall agreement.
 
Pearson 
Pearson's contingency coefficient C.
 
Phi 
Phi coefficient.
 
ProportionMatrix 
Gets the confusion matrix in
terms of cell percentages.
 
RowProportions 
Gets the row marginals (proportions).
 
RowTotals 
Gets the row totals.
 
Sakoda 
Sakoda's contingency coefficient V.
 
Samples 
Gets the number of samples.
 
StandardError 
Gets the standard error of the Kappa
coefficient of performance.
 
StandardErrorUnderNull 
Gets the standard error of the Kappa
under the null hypothesis that the underlying Kappa
value is 0.
 
Tau 
Gets the Tau coefficient of performance.
 
Tschuprow 
Tschuprow's T association measure.
 
Variance 
Gets the variance of the Kappa
coefficient of performance.
 
VarianceUnderNull 
Gets the variance of the Kappa
under the null hypothesis that the underlying
Kappa value is 0.

Name  Description  

Combine 
Combines several confusion matrices into one single matrix.
 
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
ToString  Returns a string that represents the current object. (Inherited from Object.) 
Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
IsEqual  Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices. (Defined by Matrix.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by Matrix.) 
References: