Back to FabImage Studio website
You are here: Start » Filter Reference » Data Classification » Nearest Neighbors » KNN_Init
Module: | FoundationPro |
---|
Initializes the KNN classifier.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inClassCount | Integer | 2 - +![]() |
Number of classes |
![]() |
inDimensionCount | Integer | 1 - +![]() |
Length of feature vector |
![]() |
outKNNModel | KNNModel | Initialized KNN model |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | At least two classes must be provided. |
DomainError | Feature vector should have at least one dimension. |
Complexity Level
This filter is available on Expert Complexity Level.