Feature robustness and sex differences in medical imaging: a case study in MRI-based Alzheimer's disease detection