A new study introduces an artificial intelligence framework that analyzes EEG signals to objectively classify pain intensity.