Metric Property

NI Vision for Visual Basic

Metric Property

Syntax

CWIMAQNearestNeighborEngineOptions.Metric

Data Type

CWIMAQNearestNeighborMetrics

You can use the following constants with this data type:

  • cwimaqMetricEuclidean—The standard Euclidean metric.
  • cwimaqMetricMaximum—The maximum metric.
  • cwimaqMetricSum—The sum metric.

Purpose

Metric to use when training the classifier.