Sex classification from functional brain connectivity: Generalization to multiple datasets

Hum Brain Mapp. 2024 Apr 15;45(6):e26683. doi: 10.1002/hbm.26683.

Abstract

Machine learning (ML) approaches are increasingly being applied to neuroimaging data. Studies in neuroscience typically have to rely on a limited set of training data which may impair the generalizability of ML models. However, it is still unclear which kind of training sample is best suited to optimize generalization performance. In the present study, we systematically investigated the generalization performance of sex classification models trained on the parcelwise connectivity profile of either single samples or compound samples of two different sizes. Generalization performance was quantified in terms of mean across-sample classification accuracy and spatial consistency of accurately classifying parcels. Our results indicate that the generalization performance of parcelwise classifiers (pwCs) trained on single dataset samples is dependent on the specific test samples. Certain datasets seem to "match" in the sense that classifiers trained on a sample from one dataset achieved a high accuracy when tested on the respected other one and vice versa. The pwCs trained on the compound samples demonstrated overall highest generalization performance for all test samples, including one derived from a dataset not included in building the training samples. Thus, our results indicate that both a large sample size and a heterogeneous data composition of a training sample have a central role in achieving generalizable results.

Keywords: big data; generalizability; machine learning; neuroimaging; resting‐state functional connectivity; sex classification.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Adult
  • Brain / diagnostic imaging
  • Brain / physiology
  • Connectome* / methods
  • Datasets as Topic
  • Female
  • Humans
  • Machine Learning*
  • Magnetic Resonance Imaging*
  • Male
  • Sex Characteristics
  • Young Adult