Artificial intelligence for dementia prevention