TrainNearestNeighbor Method

NI Vision for Visual Basic

TrainNearestNeighbor Method

Syntax

CWIMAQClassifier.TrainNearestNeighbor Options [, Report]

Purpose

Sets the classifier to use the Nearest Neighbor engine, and configures the options the engine uses for classification.

Parameters

Options As CWIMAQNearestNeighborEngineOptions

The options to use when training.

Report As Variant

[Optional] On return, a CWIMAQNearestNeighborTrainingReport containing the results of the training.

See Also

CWIMAQNearestNeighborTrainingReport