Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Machine Learning-Based Prediction of Cannabis Addiction Using Cognitive Performance and Sleep Quality Evaluations

Author 1: Abdelilah Elhachimi Author 2: Mohamed Eddabbah Author 3: Abdelhafid Benksim Author 4: Hamid Ibanni Author 5: Mohamed Cherkaoui
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 4 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0160439

Abstract

Cannabis addiction remains a growing public health concern, particularly due to its impact on cognition and sleep quality. Conventional screening tools, such as structured interviews and self-assessments, often lack objectivity and sensitivity. This study aims to develop and compare machine learning (ML) models for the prediction of cannabis addiction using cognitive performance (Montreal Cognitive Assessment – MoCA) and sleep quality (Pittsburgh Sleep Quality Index – PSQI) features. A total of 200 participants aged 13 to 24 were assessed, including 103 diagnosed addicts and 97 controls. Principal Component Analysis (PCA) was used to reduce data dimensionality and enhance model robustness. The study evaluated six supervised machine learning algorithms, namely Logistic Regression (LR), K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Random Forest (RF), Extreme Gradient Boosting (XGBoost), and Multilayer Perceptron (MLP). Results showed that LR and MLP models achieved high sensitivity (85.71%) and specificity (100%) on the test set, outperforming the DSM-5-based CUD reference test (sensitivity = 71.43%). Although the RF and XGBoost models achieved perfect classification on the training set, their reduced performance on the test set indicates a potential overfitting issue. Integrating machine learning with validated psychometric assessments enables a more accurate and objective identification of cannabis addiction at early stages, thus supporting timely interventions and more effective prevention strategies.

Keywords

How to Cite this Article

Elhachimi, A., Eddabbah, M., Benksim, A., Ibanni, H., & Cherkaoui, M. (2025). Machine Learning-Based Prediction of Cannabis Addiction Using Cognitive Performance and Sleep Quality Evaluations. International Journal of Advanced Computer Science and Applications, 16(4). https://doi.org/10.14569/IJACSA.2025.0160439

Elhachimi, Abdelilah, et al.. "Machine Learning-Based Prediction of Cannabis Addiction Using Cognitive Performance and Sleep Quality Evaluations." International Journal of Advanced Computer Science and Applications, vol. 16, no. 4, 2025, https://doi.org/10.14569/IJACSA.2025.0160439.

@article{Elhachimi2025,
  title     = {Machine Learning-Based Prediction of Cannabis Addiction Using Cognitive Performance and Sleep Quality Evaluations},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {4},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Abdelilah Elhachimi and Mohamed Eddabbah and Abdelhafid Benksim and Hamid Ibanni and Mohamed Cherkaoui},
  doi       = {10.14569/IJACSA.2025.0160439},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160439}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.