Machine learning models utilizing cardiovascular and lifestyle factors can accurately predict the 10-year risk of dementia in both men and women.