[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-125787-en":3,"doc-seo-125787-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},125787,4810365810221,"Aurora","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",8,"Research & Report","Performance of Machine Learning Models in Predicting Sentiments of Post-Covid Patients - comparative study","Sentiment analysis on social media supports understanding public opinion and emerging trends, and it can also help flag posts that may reflect depression in post-COVID patients. The study compares Random Forest, Support Vector Machine (SVM), and Logistic Regression for predicting positive, negative, and neutral sentiments using labeled tweets. Text preprocessing includes tokenization, stop-word removal, and lowercasing, followed by TF-IDF vectorization. Models are trained and evaluated with accuracy, precision, recall, and F1-score, showing Random Forest strongest overall, with performance varying by sentiment class.","Performance of Machine Learning Models in Predicting Sentiments of Post-Covid Patients  \nS. Roja1, Dr. M. Durairaj2  \n1 School of Computer Science and Engineering, [Bharathidasan University srojavasanth@bdu.ac.in](Bharathidasan University srojavasanth@bdu.ac.in)  \n2 Assistant Professor, School of Computer Science and Engineering, [Bharathidasan University durairaj.m@bdu.ac.in](Bharathidasan University durairaj.m@bdu.ac.in)  \nAbstract:  \nWith the widespread use of social media platforms, sentiment analysis of user-generated content has become a crucial task in understanding public opinion and trends. In this paper, we compare the performance of three popular machine learning models, namely Random Forest, Support Vector Machine (SVM), and Logistic Regression, in predicting sentiments of post-COVID patients on social media tweets. The study utilizes a dataset of labeled tweets representing positive, negative, and neutral sentiments. The preprocessing of textual data involvestokenization, stop-word removal, and conversion to lowercase to create a suitable input for the models. We utilize Term Frequency-Inverse Document Frequency (TF-IDF) vectorization to transform the text data into numerical features. The sentiment labels are converted to numeric representations for model training and evaluation. The three machine learning models are trained and evaluated on the dataset using metrics such as accuracy, precision, recall and F1-score. The evaluation results are presented and analyzed for each model, providing insights into their strengths and weaknesses in predicting sentiments. The experimental results demonstrate that Random Forest achieves the highest accuracy and F1-score, closely followed by SVM, while Logistic Regression performs slightly lower in comparison. However, all three models exhibit strong predictive capabilities, and their performances vary depending on the specific sentiment class. The findings provide valuable information for researchers and practitioners seeking to employ sentiment analysis in social media monitoring and other related applications. Overall, this study contributes to the understanding of the capabilities of Random Forest, SVM, and Logistic Regression models in sentiment analysis of social media tweets, and offers valuable insights for selecting the most suitable model for specific sentiment prediction tasks.  \nKeywords: Random Forest, SVM, and Logistic Regression models.  \nI. Introduction  \nSentiment analysis, also known as opinion mining, is a process used to determine the sentiment expressed in textdata, particularly in social media platforms. It is a type of natural language processing (NLP) that has been used for a variety of tasks, such as customer sentiment analysis, social media monitoring, and political analysis[1] . In the context of assessing depression of post-COVID patients on social media in the Indian scenario, sentiment analysis can be used to identify posts that may be indicative of depression. This can be done by looking for words and phrases that are commonly associated with depression, such as \"sad,\" \"lonely,\"\"hopeless,\" and \"worthless.\" Machine learning techniques can be used to improve the accuracy of sentiment analysis. This is because machine learning algorithms can learn to identify patterns in text that are indicative of sentiment. For example, a machine learning algorithm could be trained on adataset of social media posts that have been labeled as\"depressed\" or \"not depressed.\" The algorithm could then be used to predict the sentiment of new posts. The study of sentiment analysis in the specific context of assessing depression of post-COVID patients on social media in the Indian scenario is important for a number of reasons. First, it can help to identify patients who may be at risk of depression. Second, it can help to track the prevalence of depression in the post-COVID population. Third, it can help to develop  \ninterventions to prevent and treat depression. There are","cbCaisHk2C9bNWKn","https://ap.wps.com/l/cbCaisHk2C9bNWKn","pdf",191809,1,6,"English","en",105,"# Introduction\n## Sentiment analysis background and relevance\n## Machine learning models considered","[{\"question\":\"Which machine learning models are compared for sentiment prediction?\",\"answer\":\"Random Forest, Support Vector Machine (SVM), and Logistic Regression are compared for predicting sentiments from social media tweets.\"},{\"question\":\"How is the text data prepared before model training?\",\"answer\":\"The study applies tokenization, stop-word removal, and conversion to lowercase, then uses TF-IDF vectorization to convert text into numerical features.\"},{\"question\":\"What evaluation metrics are used to compare model performance?\",\"answer\":\"Accuracy, precision, recall, and F1-score are used to train, evaluate, and compare the three models.\"}]","Performance of Machine Learning Models in Predicting Sentiments of Post-Covid Patients - comparative study | PDF",1785901195,15,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"performance-of-machine-learning-models-in-predicting-sentiments-of-post-covid-patients-comparative-study","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/performance-of-machine-learning-models-in-predicting-sentiments-of-post-covid-patients-comparative-study/125787/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-05",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Which machine learning models are compared for sentiment prediction?","Question",{"text":75,"@type":76},"Random Forest, Support Vector Machine (SVM), and Logistic Regression are compared for predicting sentiments from social media tweets.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How is the text data prepared before model training?",{"text":80,"@type":76},"The study applies tokenization, stop-word removal, and conversion to lowercase, then uses TF-IDF vectorization to convert text into numerical features.",{"name":82,"@type":73,"acceptedAnswer":83},"What evaluation metrics are used to compare model performance?",{"text":84,"@type":76},"Accuracy, precision, recall, and F1-score are used to train, evaluate, and compare the three models.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,114,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":111,"show_sort_weight":112,"slug":113},"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":46,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]