You are here: Start » FIL.NET » FIS.KNN_Train Method

FIS.KNN_Train Method

Trains KNN classifier using sample data.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void KNN_Train
(
	FilNet.KNNModel inKNNModel,
	IList<IList<float>> inFeatures,
	IList<int> inClasses,
	FilNet.KNNModel outKNNModel
)

Parameters

Name Type Range Default Description
inKNNModelFilNet.KNNModelInitialized KNN model.
inFeaturesSystem.Collections.Generic.IList<System.Collections.Generic.IList<float>>Array of features array.
inClassesSystem.Collections.Generic.IList<int>Array of classes corresponding to feature array elements.
outKNNModelFilNet.KNNModelTrained KNN model.

See also