This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.


nilearn.datasets.fetch_adhd(n_subjects=None, data_dir=None, url=None, resume=True, verbose=1)

Download and load the ADHD resting-state dataset.


n_subjects: int, optional :

The number of subjects to load. If None is given, all the 40 subjects are used.

data_dir: string, optional :

Path of the data directory. Used to force data storage in a specified location. Default: None

url: string, optional :

Override download URL. Used for test only (or if you setup a mirror of the data).


data: sklearn.datasets.base.Bunch :

Dictionary-like object, the interest attributes are :
  • ‘func’: Paths to functional resting-state images
  • ‘phenotypic’: Explanations of preprocessing steps
  • ‘confounds’: CSV files containing the nuisance variables