imaqGetClassifierAccuracy

NI Vision for LabWindows/CVI Function

imaqGetClassifierAccuracy

Usage

ClassifierAccuracyReport* imaqGetClassifierAccuracy(const ClassifierSession* session);

Purpose

Returns a report on the accuracy of a trained classifier.

Parameters

Name

Type

Description

session const ClassifierSession* The classifier session of which to get the accuracy.

Return Value

Type

Description

ClassifierAccuracyReport* On success, this function returns a report on the accuracy of the classifier. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the return value, dispose of the information by calling imaqDispose().