This content refers to an unreleased development version of PyMVPA
To provide the most recent news and documentation www.pymvpa.org reflects the development 0.6 series of PyMVPA. If you are interested in the documentation of the previous stable 0.4 series of PyMVPA, please visit v04.pymvpa.org.

mvpa.clfs.knnΒΆ

k-Nearest-Neighbour classifier.

Inheritance diagram of mvpa.clfs.knn

Functions

accepts_dataset_as_samples(fx) Decorator to extract samples from Datasets.
indent_doc(v) Given a value returns a string where each line is indented
squared_euclidean_distance(data1[, data2, ...]) Compute weighted euclidean distance matrix between two datasets.

Classes

Classifier(**kwargs[, space]) Abstract classifier class to be inherited by all classifiers ..
ConditionalAttribute(*args, **kwargs[, enabled]) Simple container intended to conditionally store the value
Dataset(samples[, sa, fa, a]) Generic storage class for datasets with multiple attributes.
kNN(**kwargs[, k, dfx, voting]) k-Nearest-Neighbour classifier.

NeuroDebian

NITRC-listed