hypertools.tools.load

hypertools.tools.load(dataset, ndims=None, align=False)[source]

Load example data

Parameters:

dataset : string

The name of the example dataset. weights is an fmri dataset comprised of 36 subjects. For each subject, the rows are fMRI measurements and the columns are parameters of a model fit to the fMRI data. weights_sample is a sample of 3 subjects from that dataset. weights_avg is the dataset split in half and averaged into two groups. spiral is 3D spiral to highlight the procrustes function. mushrooms is an example dataset comprised of features (columns) of a collection of mushroomm samples (rows).

Returns:

data : Numpy Array

Example data

ndims : int

If not None, reduce data to ndims dimensions

align : bool

If True, run data through alignment algorithm in tools.alignment