© 2022 Şaban Karayaǧiz et al.Data mining is a method that is used to find data that are precise, previously uncertain, and logical values from a comprehensive set of information. Data mining is used as a tool for determining the accuracy of classifications of data obtained in the field of bioinformatics by using different algorithm approaches. In this study, the data mining method was used to classify the accuracy of different algorithms and predict the types of compulsive behavior of patients with obsessive compulsive disorder. Data collected from a total of 164 people, 70 males and 94 females, were analyzed. The age range of the people participating in the study was between 7 and 73, and the calculated mean age was 32.4. Data about sociodemographic characteristics, course of disease, treatments, family histories, obsession, and compulsion types of the participants were collected through data collection instruments. Classification algorithm methods found in WEKA software were chosen to process the data. The effect of the types of obsession on the types of compulsion was determined using regression models. The levels of success of the generated models were compared. The results of the study demonstrated the presence of a moderate positive correlation (.35) between these two variables. According to the coefficient of determination, obsession explained 11% of the variance in compulsion. These findings supported the established hypothesis that the effect of the types of obsession was effective on the types of compulsion.