k nearest neighbours implementation in Pharo
To install k nearest neighbours, go to the Playground (Ctrl+OW) in your Pharo image and execute the following Metacello script (select it and press Do-it button or Ctrl+D):
Metacello new
baseline: 'AIkNN';
repository: 'github://pharo-ai/kNN/src';
load.
If you want to add a dependency on kNN to your project, include the following lines into your baseline method:
spec
baseline: 'AIkNN'
with: [ spec repository: 'github://pharo-ai/kNN/src' ].
If you are new to baselines and Metacello, check out the Baselines tutorial on Pharo Wiki.
WiP