TrainNearestNeighbor Method

NI Vision for Visual Basic

TrainNearestNeighbor Method

Syntax

CWIMAQImageClassifier.TrainNearestNeighbor Options [, Report]

Purpose

Trains this classifier using the Nearest Neighbor engine.

Parameters

Options As CWIMAQNearestNeighborEngineOptions

The options to use when training.

Report As Variant

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