Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Data Classification » Nearest Neighbors » KNN_Init

KNN_Init


Module: FoundationPro

Initializes the KNN classifier.

Name Type Range Description
Input value inClassCount Integer 2 - + Number of classes
Input value inDimensionCount Integer 1 - + Length of feature vector
Output value 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.