rinuboney / clatern

Machine Learning in Clojure
Eclipse Public License 1.0
67 stars 12 forks source link

Convert kNN interface to return model record implementing the function interface #6

Closed rnowling closed 9 years ago

rnowling commented 9 years ago

Currently the knn function directly performs the prediction. To be consistent with the other classifiers, we can change knn to return a model record that implements the IFn interface.

rnowling commented 9 years ago

Closed by pull request #12 .