Skip to content
/ KNN Public

Simple implementation of KNN and fuzzy KNN algorithms with a small class that compares their results across multiple k-values

Notifications You must be signed in to change notification settings

miktaew/KNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KNN

Simple implementation of KNN and fuzzy KNN algorithms with a small class that compares their results with cross-validation across multiple k-values

Cross validation balances classes in data used for training, so that each class is present in number proportional to its occurences in full data set. Useful if data happens to be sorted by class.

Uses epsilon for 0-distance neighbors.

Supports euclidean and Manhattan distances.

Index.js has usage examples.

About

Simple implementation of KNN and fuzzy KNN algorithms with a small class that compares their results across multiple k-values

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages