Machine Learning-based Depression Prediction using Social Media Feeds

M. Keerthiga, D. Abisha, P. Kalaiselvi, S. Shenbagalakshmi
{"title":"Machine Learning-based Depression Prediction using Social Media Feeds","authors":"M. Keerthiga, D. Abisha, P. Kalaiselvi, S. Shenbagalakshmi","doi":"10.1109/ICICT57646.2023.10134427","DOIUrl":null,"url":null,"abstract":"In today's environment, young people frequently use social media platforms to communicate emotions. They post about their feelings on social media, which can help us understand how they feel at the time. As a reaction to the critical need for early detection tools, this research study uses sentiment analysis techniques to examine user contributions to social networks to help detect potential depression at an early stage. The research describes different methods for predicting sadness from user posts. The dataset is vectorised using count vectoriser and TF-IDFvectorizer, and features like post sentiment is retrieved. In our project, the model is divided into training and test datasets and trained using the Naive Bayes, Support Vector Machine, Decision Trees, Random Forest, and K-Nearest Neighbors machine learning techniques. The measures that are assessed are recall and accuracy. The Instagram API is applied to mine Instagram posts to create the dataset for the model. Each comment will undergo pre processing; each word will be processed through a lexicon to determine if it is positive or negative. This research study presents a new feature vector for classifying the texts as positive or negative. Each comment generates a score value from the lexicon to signify the degree of positivity, negativity, and other factors. A CSV file containing around 6,300 posts has been preprocessed. The distinctive characters and extraneous characters are eliminated using regular expressions. The data quality is then enhanced using stop words, Lemmatization, and tokenization. The best method for this approach yields an accuracy of 90.19% and a recall of 89.85% utilizing a decision tree model using a count vectorizer.","PeriodicalId":126489,"journal":{"name":"2023 International Conference on Inventive Computation Technologies (ICICT)","volume":"64 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Inventive Computation Technologies (ICICT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICICT57646.2023.10134427","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In today's environment, young people frequently use social media platforms to communicate emotions. They post about their feelings on social media, which can help us understand how they feel at the time. As a reaction to the critical need for early detection tools, this research study uses sentiment analysis techniques to examine user contributions to social networks to help detect potential depression at an early stage. The research describes different methods for predicting sadness from user posts. The dataset is vectorised using count vectoriser and TF-IDFvectorizer, and features like post sentiment is retrieved. In our project, the model is divided into training and test datasets and trained using the Naive Bayes, Support Vector Machine, Decision Trees, Random Forest, and K-Nearest Neighbors machine learning techniques. The measures that are assessed are recall and accuracy. The Instagram API is applied to mine Instagram posts to create the dataset for the model. Each comment will undergo pre processing; each word will be processed through a lexicon to determine if it is positive or negative. This research study presents a new feature vector for classifying the texts as positive or negative. Each comment generates a score value from the lexicon to signify the degree of positivity, negativity, and other factors. A CSV file containing around 6,300 posts has been preprocessed. The distinctive characters and extraneous characters are eliminated using regular expressions. The data quality is then enhanced using stop words, Lemmatization, and tokenization. The best method for this approach yields an accuracy of 90.19% and a recall of 89.85% utilizing a decision tree model using a count vectorizer.
使用社交媒体源的基于机器学习的抑郁症预测
在当今的环境中,年轻人经常使用社交媒体平台来交流情感。他们在社交媒体上发布自己的感受,这可以帮助我们理解他们当时的感受。作为对早期检测工具的迫切需求的反应,本研究使用情感分析技术来检查用户对社交网络的贡献,以帮助在早期发现潜在的抑郁症。该研究描述了从用户帖子中预测悲伤的不同方法。使用计数矢量器和tf - idf矢量器对数据集进行矢量化,并检索帖子情绪等特征。在我们的项目中,模型被分为训练和测试数据集,并使用朴素贝叶斯、支持向量机、决策树、随机森林和k近邻机器学习技术进行训练。评估的措施是召回和准确性。Instagram API应用于挖掘Instagram帖子以创建模型的数据集。每条评论都会经过预处理;每个单词将通过词典进行处理,以确定它是积极的还是消极的。本研究提出了一种新的特征向量来对文本进行积极或消极的分类。每个评论都会从词典中生成一个分数值,以表示积极、消极和其他因素的程度。一个包含6300篇文章的CSV文件已经被预处理。使用正则表达式消除特殊字符和无关字符。然后使用停止词、词源化和标记化来增强数据质量。该方法的最佳方法是使用计数矢量器的决策树模型,产生90.19%的准确率和89.85%的召回率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信