Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : SCiKNN details
Login with GitLab


This modules gives an implementation of a k nearest neibhour algorithm for scilab
(0 downloads for this version - 0 downloads for all versions)
Owner Organization
Dr.Kannan B,Dept of Computer Applications,CUSAT,India
Creation Date
December 27, 2010
Source created on
No source archive has been provided for this toolbox version.
Binaries available on
This toolbox is in the process of being built
            The program knn.sci gives you a n implementation of the knn algorithm. this can
be used in a variety of applications.We assume that the object,(or a handle to
it) whose neighbors are to be determined is wrapped inside a structure which
contains all the extracted features of it as a feature vector called features.

similarly we assume that the other objects which are to be compared are packed
similarly and put in an array.
the routine knn(queryObject,spaceArray,n) returns n or (more if more than n is
at the same distance) which are the nearest neighbors of the query object
currently the square of the Euclidean distance is used as the distance
measure,but this can be changed to any distance measure by defining your own
knn_d function in your program.             
Files (0)
News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.