Machine Learning Algorithms For Dementia Diagnosis And Prognosis From Brain Mri Data