You are here: Start » AVL.NET » Invoke.KNN_Classify
Classify data using the KNN classifier.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void KNN_Classify ( Avl.KNNModel inKNNModel, List<float> inFeature, int inK, Avl.Metric inDistanceType, out int outClass )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inKNNModel | Avl.KNNModel | Trained KNN model. | ||
![]() | inFeature | System.Collections.Generic.List<float> | Vector of features. | ||
![]() | inK | int | <1, +INF> | Numbers of neighbors. | |
![]() | inDistanceType | Avl.Metric | Geometry distance type used to calculate neighbors. | ||
![]() | outClass | int |