Package Bio :: Module kNN :: Class kNN
[show private | hide private]
[frames | no frames]

Class kNN


Holds information necessary to do nearest neighbors classification.

Members: classes List of the possible classes. xs List of the neighbors. ys List of the classes that the neighbors belong to. k Number of neighbors to look at.
Method Summary
  __init__(self)
kNN()

Method Details

__init__(self)
(Constructor)

kNN()

Generated by Epydoc 2.1 on Thu Aug 10 20:05:53 2006 http://epydoc.sf.net