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

FIS.KNN_Classify Method

Classify data using the KNN classifier.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void KNN_Classify
(
	FilNet.KNNModel inKNNModel,
	IList<float> inFeature,
	int inK,
	FilNet.Metric inDistanceType,
	out int outClass
)

Parameters

Name Type Range Default Description
inKNNModelFilNet.KNNModelTrained KNN model.
inFeatureSystem.Collections.Generic.IList<float>Vector of features.
inKint<1, +INF>Numbers of neighbors.
inDistanceTypeFilNet.MetricGeometry distance type used to calculate neighbors.
outClassint

See also