The invention disclosed herein is to a device to assist in the determination of the presence and type of dyskinesia in a patient. The device includes a sensor, removably attachable to a patient's body, such as on a limb or torso, the sensor being capable of detecting 3-D motion. Data generated by the sensor is transferred to and retained in a data retention means. A processing means is included to process the generated data, along with a look-up table of processed data for already known dyskinesia conditions for comparison, The processing means employs an evolutionary algorithm in the classification of the data. Output means display the diagnosed condition to a user.