Content-Length: 254995 | pFad | http://github.com/csbuja/KNNJS

DE GitHub - csbuja/KNNJS: A JavaScript Implementation of K-Nearest Neighbors (KNN).
Skip to content
/ KNNJS Public

A JavaScript Implementation of K-Nearest Neighbors (KNN).

License

Notifications You must be signed in to change notification settings

csbuja/KNNJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Example

z = KNN(2,'manhattan')
var X_train = [[0,0],[1,1],[0.1,0.1]];
var y_train = ['dumb','smart','dumb']
var X_test = [[.25,.25]];
console.log(z.fit(X_train,y_train,function(){return z.predict(X_test)} ) );

About

A JavaScript Implementation of K-Nearest Neighbors (KNN).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/csbuja/KNNJS

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy