Machine learning algorithms facilitate automatic early diagnosis, with methods such as deep neural network and geometric feature fusion producing high accuracy in predicting cerebral palsy from short videos. It is a developmental disability.Once a person is diagnosed with cerebral palsy, further diagnostic tests are optional. Neuroimaging with CT or MRI is warranted when the cause of a persons cerebral palsy has not been established. An MRI is preferred over CT, due to diagnostic yield and safety. When abnormal, the neuroimaging study can suggest the timing of the initial damage. The CT or MRI is also capable of revealing treatable conditions, such as hydrocephalus, porencephaly, arteriovenous malformation, subdural hematomas and hygromas, and a vermian tumour (which a few studies suggest are present 5–22% of the time). Furthermore, an abnormal neuroimaging study indicates a high likelihood of associated conditions, such as epilepsy and intellectual disability. There is a small risk associated with sedating children to facilitate a clear MRI.The age when CP is diagnosed is important, but medical professionals disagree over the best age to make the diagnosis. The earlier CP is diagnosed correctly, the better the opportunities are to provide the child with physical and educational help, but there might be a greater chance of confusing CP with another problem, especially if the child is 18 months of age or younger. Infants may have temporary problems with muscle tone or control that can be confused with CP, which is permanent.
The oldest likely physical evidence of the condition comes from the mummy of Siptah, an Egyptian Pharaoh who ruled from about 1196 to 1190 BCE and died at about 20 years of age. The presence of cerebral palsy has been suspected due to his deformed foot and hands.The medical literature of the ancient Greeks discusses paralysis and weakness of the arms and legs; the modern word palsy comes from the Ancient Greek words παράλυση or πάρεση, meaning paralysis or paresis respectively. The works of the school of Hippocrates (460–c. 370 BCE), and the manuscript On the Sacred Disease in particular, describe a group of problems that matches up very well with the modern understanding of cerebral palsy. The Roman Emperor Claudius (10 BCE–54 CE) is suspected of having CP, as historical records describe him as having several physical problems in line with the condition. Medical historians have begun to suspect and find depictions of CP in much later art. Several paintings from the 16th century and later show individuals with problems consistent with it, such as Jusepe de Riberas 1642 painting The Clubfoot.The modern understanding of CP as resulting from problems within the brain began in the early decades of the 1800s with a number of publications on brain abnormalities by Johann Christian Reil, Claude François Lallemand and Philippe Pinel. Later physicians used this research to connect problems in the brain with specific symptoms. The English surgeon William John Little (1810–1894) was the first person to study CP extensively.