IDEAS home Printed from https://ideas.repec.org/a/abq/ijist1/v6y2024i3p1402-1416.html

Analyzing the Shadows:Machine Learning Approaches for Depression Detection on Twitter

Author

Listed:
  • Fiza Azam

    (National University of Sciences & Technology (NUST))

Abstract

Depression is a leading cause of disability worldwide, affecting approximately 4.4% of the global population. It can escalate from mild symptoms to severe outcomes, including suicide, if not treated early. Thus, developing systematic techniques for automatic detection is crucial. Social media platforms like Facebook, Twitter, TikTok, Snapchat, and Instagram provide users with the means to share personal feelings and daily activities, offering valuable insights into their thoughts and behaviors. This researchaims to identify users who publicly disclosed their diagnoses and collect their data from Twitter. We created three different datasets, each varying in the number of tweets stored based on criteria discussed later. We selected six classifiers for analysis. Support Vector Machine (SVM), Logistic Regression, Random Forest, Max Vote Ensemble, Bagging, and Boosting. We conducted two analyses. In the first, textual data was converted into embeddings using the Bag of Words approach before analysis. In the second,a multivariate analysis, we trained algorithms on multi-dimensional data. Our findings revealed that Logistic Regression outperformed other techniques on smaller datasets. However, the Boosting algorithm yielded the best results on a dataset of 3,200 tweets, and the Bagging algorithm excelled when trained on 3,200 tweets of multivariate data. Overall, nearly all algorithms performed well on the 3,200-tweet datasets.

Suggested Citation

  • Fiza Azam, 2024. "Analyzing the Shadows:Machine Learning Approaches for Depression Detection on Twitter," International Journal of Innovations in Science & Technology, 50sea, vol. 6(3), pages 1402-1416, September.
  • Handle: RePEc:abq:ijist1:v:6:y:2024:i:3:p:1402-1416
    as

    Download full text from publisher

    File URL: https://journal.50sea.com/index.php/IJIST/article/view/974/1594
    Download Restriction: no

    File URL: https://journal.50sea.com/index.php/IJIST/article/view/974
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:abq:ijist1:v:6:y:2024:i:3:p:1402-1416. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Iqra Nazeer (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.