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
Input value inClassCount int 2 - + 2 Number of classes
Input value inDimensionCount int 1 - + 1 Length of feature vector
Output value outKNNModel KNNModel Initialized KNN model