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
HRESULT get_Element( int RowNumber, int ColNumber, int* Result );
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
03.07.2024 8:50:25