Recognition of Parkinson's disease and Parkinson's dementia based on gait analysis and machine learning