Element Property of the ConfusionMatrix Object
Returns the element in the selected cell of the confusion matrix. The value of the element located in the column A, row B, tells you how many documents were classified as belonging to the category A while actually being in the category B. When A and B are the same, you get the number of correctly assigned results for that category.
Syntax
C++
HRESULT get_Element( int RowNumber, int ColNumber, int* Result );
C#
int Element( int RowNumber, int ColNumber );
Visual Basic .NET
Property Element( _ RowNumber As Integer, _ ColumnNumber As Integer _ ) As Integer
Parameters
- RowNumber
- [in] The index of the row of the confusion matrix where the element is located. It must be in the range from 0 to Size - 1.
- ColumnNumber
- [in] The index of the column of the confusion matrix where the element is located. It must be in the range from 0 to Size - 1.
- Result
- [out, retval] An integer variable that receives the value of the element.
See also
17.09.2024 15:14:41