Application of machine learning to the detection and prediction of Parkinson’s disease subtypes