KNN Class Prediction: Evaluate Existing Classifier

protocols

To evaluate an existing k-nearest-neighbors (KNN) classifier, run the KNN module with the classifier (model) file and a test data set.

Before you begin

Evaluating an existing classifier requires:

Step 1: KNN

To test a previously built KNN classifier, run the KNN module. Specify the classifier (*.knn.model) and the test data set. The module creates a prediction results file (*.pred.odf) that assesses the accuracy of the predictor.

learn more:
KNN

Step 2: View results

To view the prediction results file (*.pred.odf), use the PredictionResultsViewer module. The viewer lists each sample with its actual and predicted class.

Considerations
learn more:
PredictionResultsViewer