You are here: Start » AVL.NET » Invoke.KNN_Init
Initializes the KNN classifier.
| Namespace: | Avl |
|---|---|
| Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void KNN_Init ( int inClassCount, int inDimensionCount, Avl.KNNModel outKNNModel )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inClassCount | int | <2, +INF> | Number of classes. | |
![]() | inDimensionCount | int | <1, +INF> | Length of feature vector. | |
![]() | outKNNModel | Avl.KNNModel | Initialized KNN model. |


