No Detail Found!

Analyzing Twitter Data for Depression Signs Based on Machine Learning Techniques

Author(s)
Eman Khattak School of Computer Science, Iqra National University Peshawar, Peshawar 25124, Pakistan
Haleem Ullah School of Computer Science, Iqra National University Peshawar, Peshawar 25124, Pakistan
Irfanullah Khan School of Computer Science, Iqra National University Peshawar, Peshawar 25124, Pakistan
Malik Taimoor Ali School of Computer Science, Iqra National University Peshawar, Peshawar 25124, Pakistan
Latif Jan School of Computer Science, Iqra National University Peshawar, Peshawar 25124, Pakistan
Abstract
This research examines tweets with Natural Language Processing (NLP) and Machine Learning to detect trends associated with depression. The aim of this research is to create a dependable system for the early detection of depression. For this purpose, several classification algorithms are studied such as Decision Tree, K-Nearest Neighbors (KNN), Random Forest, Naïve Bayes, Support Vector Machine (SVM), Logistic Regression, Convolutional Neural Networks (CNN). All these models are tested to find out which is most dependable for depression detection. The effectiveness of these models is analyzed to determine which one is most precise in depression detection. Ongoing monitoring of users' text data allows participants to visualize the progression of depression over time, as well as recognize shifts in emotional states through graphs. The approach is made up of three phases: text cleaning, model building, and intensive testing of a given dataset. The data analysis shows that the best performing algorithms in accuracy were Logistic Regression and SVM with 91.8% and 91.9% respectively. It was noted that Logistic Regression performed better in precision and recall metrics which highlights its effectiveness in symptom depression detection.
Publication Details
Page(s) 166-186
DOI DOI not available
Published Journal: The Sciencetech, Volume: 6, Issue: 4, Year: 2025

Request the full text from PASTIC

Keywords
k-nearest neighbors, decision tree, machine learning, Naïve Bayes, natural language processing
References
Ahmed A. .2021 .Pre-trained CNNs models for content based image retrieval. International Journal of Advanced Computer Science and Applications, 12(7) : .
Anavi Y.,Kogan I.,Gelbart E.,Geva O.,Greenspan H. .2015 .August). A comparative study for chest radiograph image retrieval using binary texture and deep learning classification. In 37th annual international conference of the IEEE engineering in medicine and biology society (EMBC), : 2940-2943.
Babenko A.,Lempitsky V. .2015 .Aggregating deep convolutional features for image retrieval. arXiv preprint arXiv:1510, : 07493.
Babenko A.,Slesarev A.,Chigorin A.,Lempitsky V. .2014 .Neural codes for image retrieval. In European conference on computer vision, : 584-599.
Chicco D.,Warrens M. J.,Jurman G. .2021 .The Matthews correlation coefficient (MCC) is more informative than Cohen's Kappa and Brier score in binary classification assessment. IEEE Access, 9 : 78368-78381.
Zogan H.,Razzak I.,Wang X.,Jameel S.,Xu G. .2022 .Explainable depression detection with multi-aspect features using a hybrid Deep Learning model on social media. World Wide Web, 25(1) : 281-304.
Xie L.,Hong R.,Tian B.,Q. B. .2015 .Image classification and retrieval are one. In Proceedings of the 5th ACM International Conference on Multimedia Retrieval, : 3-10.
Vasha Z. N.,Sharma B.,Esha I. J.,Polin J.,J. A. J. .2023 .Depression detection in social media comments data using Machine Learning algorithms. Bulletin of Electrical Engineering and Informatics, 12(2) : 987-996.
Tejaswini V.,Sahoo B.,Babu K. S. .2025 .Major Depressive Disorder Symptoms Detection System Through Text in Social Media Platforms Using Hybrid Deep Learning Models. IEEE Transactions on Computational Social Systems., : .
Tejaswini V.,Babu Sathya,Sahoo K.,B. K. .2024 .Depression detection from social media text analysis using natural language processing techniques and hybrid deep learning model. ACM Transactions on Asian and Low-Resource Language Information Processing, 23(1) : 1-20.
Sukanya C. M.,Gokul R.,Paul V. .2016 .A survey on object recognition methods. International Journal of Science, 6(1) : 48.
Sarwar A.,Mehmood Z.,Saba T.,Qazi K. A.,Adnan A.,Jamal H. .2019 .A novel method for content-based image retrieval to improve the effectiveness of the bag-of-words model using a support vector machine. Journal of Information Science, 45(1) : 117-135.
Russell B. C.,Torralba A.,Murphy K. P.,Freeman W. T. .2008 .LabelMe: A database and web-based tool for image annotation. International Journal of Computer Vision, 77(1-3) : 157-173.
Resnik P.,Armstrong W.,Claudino L.,Nguyen T.,Nguyen V. A.,Boyd-Graber J. .2015 .clinical psychology: from linguistic signal to clinical reality (pp. In Proceedings of the 2nd workshop on computational linguistics, : 99-107.
Opelt A.,Pinz A. .2005 .Object localization with boosting and weak supervision for generic object recognition. In Proceedings of the Scandinavian Conference on Image Analysis, : 862-871.
Miao R. .2023 .Emotion analysis and opinion monitoring of social network users under deep convolutional neural network. Journal of Global Information Management (JGIM), 31(1) : 1-12.
Mao J.,Xu W.,Yang Y.,Wang J.,Huang Z.,Yuille A. .2014 .Deep captioning with multimodal recurrent neural networks (m-rnn). arXiv preprint arXiv:1412, : 6632.
Lowe D. G. .2004 .Distinctive image features from scale-invariant keypoints. International Journal of Computer Vision, 60(2) : 91-110.
Lu X. .2025 .. Detecting Depression via Tweets on Twitter Utilizing Machine Learning and Neural Network Models. Journal of Artificial Intelligence and System Modelling, 3(02) : 1-14.
Lacoste C.,Lim J. H.,Chevallet J. P.,Le D. T. H. .2007 .Medical image retrieval based on knowledge-assisted text and image indexing. IEEE Transactions on Circuits and Systems for Video Technology, 17(7) : 889-900.
Kulkarni S.,Manu T. M. .2022 .Content-based image retrieval: A literature review. In Proceedings of the 6th International Conference on Intelligent Computing and Control Systems (ICICCS), : 1580-1587.
Hameed I. M.,Abdulhussain S. H.,Mahmmod B. M. .2021 .Contentbased image retrieval: A review of recent trends. Cogent Engineering, 8(1) : 1927469.
Everingham M.,Eslami S. A.,Van Gool L.,Williams C. K. I.,Winn J.,Zisserman A. .2015 .The Pascal visual object classes challenge: A retrospective. International Journal of Computer Vision, 111(1) : 98-136.
Dubey S. R. .2021 .A decade survey of content-based image retrieval using Deep Learning. IEEE Transactions on Circuits and Systems for Video Technology, 32(5) : 2687-2704.
0

Citations

0

Downloads

2

Views