You are here: Start » AVL.NET » AVS.KNN_Init Method

AVS.KNN_Init Method

Initializes the KNN classifier.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void KNN_Init
(
	int inClassCount,
	int inDimensionCount,
	AvlNet.KNNModel outKNNModel
)

Parameters

Name Type Range Default Description
inClassCountint<2, +INF>Number of classes.
inDimensionCountint<1, +INF>Length of feature vector.
outKNNModelAvlNet.KNNModelInitialized KNN model.

See also