Skip to content

dxfl/wc-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

wc-blog

this is code from the blog of wavecrafters: http://blog.wavecrafters.com

knearest.rb

This is code for playing with the k-nearest neighbors (k-NN) classifier.

It has 2 classifiers, 2 k-nn methods, the weightedknn and the knnestimate, this one without weights, meaning that each point of the k set contributes the same to the estimation.

Original code from the Toby Segaran great book Programming Collective Intelligence, but instead of Python I'm using Ruby, I love Ruby.

About

Code from blog.wavecrafters.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published