Creates a dataset object for MVPA analysis that encapsulates a training dataset, an optional test dataset, and a voxel mask.
Value
An mvpa_dataset object (S3 class) containing:
- train_data
The training data as a
NeuroVecinstance- test_data
The test data as a
NeuroVecinstance (if provided, otherwise NULL)- mask
The binary mask defining valid voxels as a
NeuroVolinstance- has_test_set
Logical flag indicating whether this dataset has a test set
See also
mvpa_surface_dataset for creating surface-based MVPA datasets
mvpa_design for creating the corresponding design object