Class: kNN | Bio/Tools/Classification/kNN.py | |||||
---|---|---|---|---|---|---|
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.
|