Classification of Obsessive-Compulsive Disorder by Two-Dimension Convolutional Neural Network

Main Article Content

Rachapon Kittisakphaibun
Yuttana Kitjaidure

Abstract

Obsessive-compulsive disorder is a mental disorder that a person has uncontrolled, causing the patient to be high anxiety, which affects the daily life of the patient. EEG signal is one method used to diagnose brain diseases. In which EEG is a measure of changes in electrical charges in the brain. In this paper, we propose a twodimension convolution neural network model, a popular way to distinguish between two categories by using images. The time-frequency image was created using the complex Morlet wavelet. Time-frequency images are used as an input of the 2-D convolution neural network model, which uses 2-D convolution to extract the characteristics of the image in each channel of the electrode. The experiment result of testing is 87.5 percent accuracy and 0.461 test loss value in the 2-D CNN model. Therefore, the power of time-frequency in two-dimension convolution neural network model provides a new method for the classification of obsessive-compulsive disorder in the Flanker task.

Article Details

How to Cite
[1]
R. Kittisakphaibun and Y. . Kitjaidure, “Classification of Obsessive-Compulsive Disorder by Two-Dimension Convolutional Neural Network”, TEEJ, vol. 1, no. 2, pp. 21–24, Dec. 2025.
Section
Research article

References

T. J. Legg, A. Pietrangelo, “Understanding the Impact of Severe Obsessive-Compulsive Disorder

(OCD),” December. 20, 2019. [Online]. Available: https://www.healthline.com/health/mental-health/

severe-ocd.

J. F. Cavanagh, M. X. Cohen, J. J. Allen, “Prelude to and Resolution of an Error: EEG Phase Synchrony Reveals Cognitive Control Dynamics during Action Monitoring,” in The Journal of Neuroscience, pp. 98 – 105, January 2009.

S. Aydin, N. Arica, E. Ergul, O. Tan, “Classification of Obsessive Compulsive Disorder by EEG

Complexity and Hemispheric Dependency Measurements,” in International Journal of Neural System, Vol. 25, No.3, 2015.

T. O. Grundler, J. F. Cavanagh, C. M. Figueroa, M. J. Frank, J. J. Allen, “Task–related dissociation in

ERN amplitude as a function of obsessivecompulsive symptoms,” in neuropsychologia, 47th,

pp. 1978 – 1987, 2009.

E. B. Foa, J. D. Huppert, S. Leiberg, R. Langner, R. Kichic, G. Hajcak, P, M, Salkovskis, “The

Obsessive-Compulsive Inventory: Development and Validation of a Short Version,” in Psychological

Assessment, vol. 14, no. 4, pp. 485 – 496, 2002.

J. F. Cavanagh, T. O. Grundler, M. J. Frank, J. J. Allen, “Altered cingulate sub–region activation

accounts for task-related dissociation in ERN amplitude as a function of obsessive–compulsive

symptoms,” in neuropsychologia, 48th, pp. 2098 – 2109, 2010.

M. X. Cohen, “A better way to define and describe Morlet wavelets for time-frequency analysis,” in

NeuroImage, pp. 81-86, 2019