mvpa2.clfs.knn.accepts_dataset_as_samples

mvpa2.clfs.knn.accepts_dataset_as_samples(fx)

Decorator to extract samples from Datasets.

Little helper to allow methods to be written for plain data (if they don’t need information from a Dataset), but at the same time also accept whole Datasets as input.