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 | |
---|---|---|---|---|---|
![]() | inKNNModel | FilNet.KNNModel | Initialized KNN model. | ||
![]() | inFeatures | System.Collections.Generic.IList<System.Collections.Generic.IList<float>> | Array of features array. | ||
![]() | inClasses | System.Collections.Generic.IList<int> | Array of classes corresponding to feature array elements. | ||
![]() | outKNNModel | FilNet.KNNModel | Trained KNN model. |