rinuboney / clatern

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

Parameterize distance metrics in KMeans. Closes #27 #28

Closed rnowling closed 9 years ago

rnowling commented 9 years ago

Add distance metric as an optional parameter to KMeans. Use Euclidean distance as a default for API compatibility. Clean up KMeans tests for readability and add tests with more distance metrics. Closes #27