Skip to content
Yi-Hsien Chen edited this page Apr 21, 2017 · 3 revisions

See also: examples/knnclassifier/knnclassifier_iris.go

KNN (K-Nearest Neighbours) is a classification technique which classifies an unknown instance based on the classes of the closest K training examples.

Supported metrics

Golearn's KNNClassifier currently supports Euclidean ("euclidean"), Manhattan ("manhattan"), and Cosine ("cosine") distance metrics.

Support status

Operating Systems Mac OS X 10.8
Ubuntu 14.04
Go version 1.2
GoLearn version 0.1
Support status Current
Next revision On version upgrade
Clone this wiki locally