- GNU Octave
- k-Nearest Neighbors Classifier using uniform weights.
- Uses L2 norm function to compute distance.
- Selects randomly to break ties.
knn_classify.m
: contains function to train model and predict labels for evaluation dataset.
- Call the
knn_classify
method with parameters, k, train_data, train_labels, and eval_data.