neurite.py.data
Data resources for neurite.
DataSplit
initialize DataSplit object, maintains splits of train, val, test
data can be accessed using member variables, like data.train
or as a victionary, using: data['train']
Args: train ([type], optional): [description]. Defaults to None. val ([type], optional): [description]. Defaults to None. test ([type], optional): [description]. Defaults to None.
Source code in neurite/py/data.py
map_fn
apply function to each of the data splits
Args: lambda_fn (function): function that takes in one input splits (list, optional): which splits to do processing on. Defaults to ['train', 'val', 'test'].
Source code in neurite/py/data.py
load_dataset
Downloads a dataset and caches it in the user's home directory.
Source code in neurite/py/data.py
split_dataset
split a dataset used to split train in train/val, for example
can input single numpy array or list