ClassifierAccuracyReport

NI Vision for LabWindows/CVI Function

ClassifierAccuracyReport

A report on the accuracy of the classifier.

Elements

Name

Type

Description

size int The size of the arrays in this structure.
accuracy float The overall accuracy of the classifier, from 0 to 1000. Refer to the Determining the Quality of a Trained Classifier section of Chapter 15, Binary Processing, in the NI Vision Concepts Manual.
classNames char** The names of the classes of this classifier. Each name in the array is a NULL-terminated string.
classAccuracy double* An array of size elements that contains accuracy information for each class. The class accuracy indicates the probability that the classifier classifies a sample into the correct class. Each row shows how the classifier classified all of the samples known to be in a certain class. Refer to the Classifier Accuracy section of Chapter 15, Binary Particle Classification, in the NI Vision Concepts Manual for more information about this field.
classPredictiveValue double* An array containing size elements that contains the predictive values of each class. The predictive values indicate the probability that a sample classified into a given class belongs to that class. Refer to the Classifier Predictability section of Chapter 15, Binary Particle Classification, in the NI Vision Concepts Manual for more information about this field.
classificationDistribution int** A two-dimensional array containing information about how the classifier classifies its samples. This array is a square array, with both dimensions containing size elements. Refer to the Determining the Quality of a Trained Classifier section of Chapter 15, Binary Particle Classification, in the NI Vision Concepts Manual for more information about this field.