APOE and Alzheimer disease: This study aimed to use machine learning (ML) algorithms to predict brain age and assess AD risk by considering the effects of the APOE4 genotype and gender.