KNN_Init
Initializes the KNN classifier.
Syntax
C++
C#
Python
def KNN_Init( outKNNModel: KNNModel, /, *, inClassCount: int = 2, inDimensionCount: int = 1 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inClassCount | int | 2 - +![]() |
2 | Number of classes |
![]() |
inDimensionCount | int | 1 - +![]() |
1 | Length of feature vector |
![]() |
outKNNModel | KNNModel | Initialized KNN model |



