Artificial Intelligence could identify dementia years before it first appears