Multivariate Pattern Analysis in Python |
Bases: object
Dataset container
The class is useful to combine several Datasets with different origin and type and bind them together. Such a combined dataset can then by used to e.g. pass it to a classifier.
MetaDataset does not permanently duplicate data stored in the dataset it contains. The combined samples matrix is build on demand and samples attribute access is redirected to the first dataset in the container.
Currently operations other than samples or feature selection are not fully supported, e.g. passing a MetaDataset to detrend() will initially result in a detrended MetaDataset, but the combined and detrended samples matrix will be lost after the next call to selectSamples() or selectFeatures(), which freshly pulls samples from all datasets in the container.
Initialize dataset instance
Parameters: | datasets (list) – |
---|
Apply a mapper on all underlying datasets.
Number of features per sample.
Currently available number of samples.
Return a MetaDataset with a random subset of samples.
Perform reverse mapping
Return : | List of results per each used mapper and the corresponding part of the provided val. |
---|
Number of features per sample.
Currently available number of samples.
Toggle label permutation.
Update the combined samples matrix from all underlying datasets.
Do feature selection on all underlying datasets at once.
Select samples from all underlying datasets at once.
Set the data type of the samples array.