Classification of Psychiatry Clinical Notes by Diagnosis: A Deep Learning and Machine Learning Approach

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Rubio-Martín, Sergio, García-Ordás, María Teresa, Serrano-García, Antonio, Franch-Pato, Clara Margarita, Crespo-Álvaro, Arturo, Benítez-Andrades, José Alberto
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915421957914624
author Rubio-Martín, Sergio
García-Ordás, María Teresa
Serrano-García, Antonio
Franch-Pato, Clara Margarita
Crespo-Álvaro, Arturo
Benítez-Andrades, José Alberto
author_facet Rubio-Martín, Sergio
García-Ordás, María Teresa
Serrano-García, Antonio
Franch-Pato, Clara Margarita
Crespo-Álvaro, Arturo
Benítez-Andrades, José Alberto
contents The classification of clinical notes into specific diagnostic categories is critical in healthcare, especially for mental health conditions like Anxiety and Adjustment Disorder. In this study, we compare the performance of various Artificial Intelligence models, including both traditional Machine Learning approaches (Random Forest, Support Vector Machine, K-nearest neighbors, Decision Tree, and eXtreme Gradient Boost) and Deep Learning models (DistilBERT and SciBERT), to classify clinical notes into these two diagnoses. Additionally, we implemented three oversampling strategies: No Oversampling, Random Oversampling, and Synthetic Minority Oversampling Technique (SMOTE), to assess their impact on model performance. Hyperparameter tuning was also applied to optimize model accuracy. Our results indicate that oversampling techniques had minimal impact on model performance overall. The only exception was SMOTE, which showed a positive effect specifically with BERT-based models. However, hyperparameter optimization significantly improved accuracy across the models, enhancing their ability to generalize and perform on the dataset. The Decision Tree and eXtreme Gradient Boost models achieved the highest accuracy among machine learning approaches, both reaching 96%, while the DistilBERT and SciBERT models also attained 96% accuracy in the deep learning category. These findings underscore the importance of hyperparameter tuning in maximizing model performance. This study contributes to the ongoing research on AI-assisted diagnostic tools in mental health by providing insights into the efficacy of different model architectures and data balancing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2508_00695
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Classification of Psychiatry Clinical Notes by Diagnosis: A Deep Learning and Machine Learning Approach
Rubio-Martín, Sergio
García-Ordás, María Teresa
Serrano-García, Antonio
Franch-Pato, Clara Margarita
Crespo-Álvaro, Arturo
Benítez-Andrades, José Alberto
Machine Learning
Computation and Language
The classification of clinical notes into specific diagnostic categories is critical in healthcare, especially for mental health conditions like Anxiety and Adjustment Disorder. In this study, we compare the performance of various Artificial Intelligence models, including both traditional Machine Learning approaches (Random Forest, Support Vector Machine, K-nearest neighbors, Decision Tree, and eXtreme Gradient Boost) and Deep Learning models (DistilBERT and SciBERT), to classify clinical notes into these two diagnoses. Additionally, we implemented three oversampling strategies: No Oversampling, Random Oversampling, and Synthetic Minority Oversampling Technique (SMOTE), to assess their impact on model performance. Hyperparameter tuning was also applied to optimize model accuracy. Our results indicate that oversampling techniques had minimal impact on model performance overall. The only exception was SMOTE, which showed a positive effect specifically with BERT-based models. However, hyperparameter optimization significantly improved accuracy across the models, enhancing their ability to generalize and perform on the dataset. The Decision Tree and eXtreme Gradient Boost models achieved the highest accuracy among machine learning approaches, both reaching 96%, while the DistilBERT and SciBERT models also attained 96% accuracy in the deep learning category. These findings underscore the importance of hyperparameter tuning in maximizing model performance. This study contributes to the ongoing research on AI-assisted diagnostic tools in mental health by providing insights into the efficacy of different model architectures and data balancing methods.
title Classification of Psychiatry Clinical Notes by Diagnosis: A Deep Learning and Machine Learning Approach
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2508.00695