Note
Click here to download the full example code
Simulated epochs data
Use fitgrid.generate
to quickly
generate small or large random data sets with categorical and random
continuous predictor variables. The random values can be seeded for
replicability.
The data can be returned in fitgrid
Epochs
format for immediate modeling or as a
pandas.DataFrame
. The latter is useful for mocking up the
conversion from a dataframe to fitgrid.Epochs when developing an
analysis pipeline.
Small data sets are useful for trying out features and functions. Larger sets are useful for testing system performance and limitations.
import fitgrid
Small random data set as fitgrid.Epochs
fitgrid.generate(n_samples=8, n_channels=4, seed=32)
Out:
<fitgrid.epochs.Epochs object at 0x7fcc054a86a0>
The same data as a pandas.DataFrame
fitgrid.generate(n_samples=8, n_channels=4, seed=32, return_type="dataframe")
Total running time of the script: ( 0 minutes 0.021 seconds)