GetAccuracy Method

NI Vision for Visual Basic

GetAccuracy Method

Syntax

CWIMAQParticleClassifier.GetAccuracy AccuracyReport

Purpose

Gets an accuracy report on the classifier.

Remarks

The classifier must be trained for this method.

The accuracy report is obtained by measuring how well the classifier classifies the samples it contains. If the classifier was trained with the Nearest Neighbor engine, the report will always indicate the classifier is perfect, which is not necessarily an indication of the true accuracy of the classifier.

Parameters

AccuracyReport As CWIMAQClassifierAccuracyReport

On return, a report on the accuracy of this classifier.