Classification of Types of Dementia Using a Neural Network Model