Examining stability of machine learning methods for predicting dementia at early phases of the disease