scholarly journals Classifying Text-Based Emotions Using Logistic Regression

Author(s):  
Fahad Mazaed Alotaibi

Emotion detection textual content is getting popular among individuals and business companies to analyze user emotional reaction on the products they use. In this work, emotion detection from textual content is performed by using supervised learning-based Logistic Regression classifier. ISEAR dataset is used to taring the classifier, while testing dataset is used to evaluate the prediction capability of the classifier for emotion classification. The prior works used rule-based techniques, supported by lexical resources. However, limited coverage of emotional clues, was the major issue, which resulted in poor performance of system. The proposed work overcomes this limitation by proposing supervised learning technique using Logistic Regression classifier. The results obtained are encouraging and show that the proposed system performed better than the similar methods.

2021 ◽  
Vol 6 (2) ◽  
pp. 120-129
Author(s):  
Nadhif Ikbar Wibowo ◽  
Tri Andika Maulana ◽  
Hamzah Muhammad ◽  
Nur Aini Rakhmawati

Public responses, posted on Twitter reacting to the Tokopedia data leak incident, were used as a data set to compare the performance of three different classifiers, trained using supervised learning modeling, to classify sentiment on the text. All tweets were classified into either positive, negative, or neutral classes. This study compares the performance of Random Forest, Support-Vector Machine, and Logistic Regression classifier. Data was scraped automatically and used to evaluate several models; the SVM-based model has the highest f1-score 0.503583. SVM is the best performing classifier.


2018 ◽  
Vol 09 (01) ◽  
pp. 129-140 ◽  
Author(s):  
Jena Daniels ◽  
Nick Haber ◽  
Catalin Voss ◽  
Jessey Schwartz ◽  
Serena Tamura ◽  
...  

Background Recent advances in computer vision and wearable technology have created an opportunity to introduce mobile therapy systems for autism spectrum disorders (ASD) that can respond to the increasing demand for therapeutic interventions; however, feasibility questions must be answered first. Objective We studied the feasibility of a prototype therapeutic tool for children with ASD using Google Glass, examining whether children with ASD would wear such a device, if providing the emotion classification will improve emotion recognition, and how emotion recognition differs between ASD participants and neurotypical controls (NC). Methods We ran a controlled laboratory experiment with 43 children: 23 with ASD and 20 NC. Children identified static facial images on a computer screen with one of 7 emotions in 3 successive batches: the first with no information about emotion provided to the child, the second with the correct classification from the Glass labeling the emotion, and the third again without emotion information. We then trained a logistic regression classifier on the emotion confusion matrices generated by the two information-free batches to predict ASD versus NC. Results All 43 children were comfortable wearing the Glass. ASD and NC participants who completed the computer task with Glass providing audible emotion labeling (n = 33) showed increased accuracies in emotion labeling, and the logistic regression classifier achieved an accuracy of 72.7%. Further analysis suggests that the ability to recognize surprise, fear, and neutrality may distinguish ASD cases from NC. Conclusion This feasibility study supports the utility of a wearable device for social affective learning in ASD children and demonstrates subtle differences in how ASD and NC children perform on an emotion recognition task.


Author(s):  
Rohit Kumar ◽  
Sneha Manjunath Naik ◽  
Vani D Naik ◽  
Smita Shiralli ◽  
Sunil V.G ◽  
...  

Gut ◽  
2021 ◽  
pp. gutjnl-2020-323799
Author(s):  
Neeraj Narula ◽  
Emily C L Wong ◽  
Jean-Frederic Colombel ◽  
William J Sandborn ◽  
John Kenneth Marshall ◽  
...  

Background and aimsThe Simple Endoscopic Score for Crohn’s disease (SES-CD) is the primary tool for measurement of mucosal inflammation in clinical trials but lacks prognostic potential. We set to develop and validate a modified multiplier of the SES-CD (MM-SES-CD), which takes into consideration each individual parameter’s prognostic value for achieving endoscopic remission (ER) while on active therapy.MethodsIn this posthoc analysis of three CD clinical trial programmes (n=350 patients, baseline SES-CD ≥ 3 with confirmed ulceration), data were pooled and randomly split into a 70% training and 30% testing cohort. The MM-SES-CD was designed using weights for individual parameters as determined by logistic regression modelling, with 1-year ER (SES-CD < 3) being the dependent variable. A cut point score for low and high probability of ER was determined by using the maximum Youden Index and validated in the testing cohort.ResultsBaseline ulcer size, extent of ulceration and presence of non-passable strictures had the strongest association with 1-year ER as compared with affected surface area, with differential weighting of individual parameters across disease segments being observed during logistic regression. The MM-SES-CD was generated using this weighted regression model and demonstrated strong discrimination for ER in the training dataset (area under the receiver operator curve (AUC) 0.83, 95% CI 0.78 to 0.94) and in the testing dataset (AUC 0.82, 95% CI 0.77 to 0.92). In comparison to the MM-SES-CD scoring model, the original SES-CD score lacks accuracy (AUC 0.60, 95% CI 0.55 to 0.65) for predicting the achievement of ER.ConclusionsWe developed and internally validated the MM-SES-CD as an endoscopic severity assessment tool to predict one-year ER in patients with CD on active therapy.


Symmetry ◽  
2018 ◽  
Vol 10 (9) ◽  
pp. 414 ◽  
Author(s):  
Traian Caramihale ◽  
Dan Popescu ◽  
Loretta Ichim

The detection of human emotions has applicability in various domains such as assisted living, health monitoring, domestic appliance control, crowd behavior tracking real time, and emotional security. The paper proposes a new system for emotion classification based on a generative adversarial network (GAN) classifier. The generative adversarial networks have been widely used for generating realistic images, but the classification capabilities have been vaguely exploited. One of the main advantages is that by using the generator, we can extend our testing dataset and add more variety to each of the seven emotion classes we try to identify. Thus, the novelty of our study consists in increasing the number of classes from N to 2N (in the learning phase) by considering real and fake emotions. Facial key points are obtained from real and generated facial images, and vectors connecting them with the facial center of gravity are used by the discriminator to classify the image as one of the 14 classes of interest (real and fake for seven emotions). As another contribution, real images from different emotional classes are used in the generation process unlike the classical GAN approach which generates images from simple noise arrays. By using the proposed method, our system can classify emotions in facial images regardless of gender, race, ethnicity, age and face rotation. An accuracy of 75.2% was obtained on 7000 real images (14,000, also considering the generated images) from multiple combined facial datasets.


2022 ◽  
Vol 11 (1) ◽  
pp. 325-337
Author(s):  
Natalia Gil ◽  
Marcelo Albuquerque ◽  
Gabriela de

<p style="text-align: justify;">The article aims to develop a machine-learning algorithm that can predict student’s graduation in the Industrial Engineering course at the Federal University of Amazonas based on their performance data. The methodology makes use of an information package of 364 students with an admission period between 2007 and 2019, considering characteristics that can affect directly or indirectly in the graduation of each one, being: type of high school, number of semesters taken, grade-point average, lockouts, dropouts and course terminations. The data treatment considered the manual removal of several characteristics that did not add value to the output of the algorithm, resulting in a package composed of 2184 instances. Thus, the logistic regression, MLP and XGBoost models developed and compared could predict a binary output of graduation or non-graduation to each student using 30% of the dataset to test and 70% to train, so that was possible to identify a relationship between the six attributes explored and achieve, with the best model, 94.15% of accuracy on its predictions.</p>


Author(s):  
Mr. Bhavar Shivam S.

Today we do a lot of things online from shopping to data sharing on social networking sites. Social networking (SNS) is good for releasing stress and depression by sharing one’s thoughts. Thus, emotion detection has become a hot trend to day. But there is a problem in analyzing emotions on a SNS like twitter as it generates lakhs of tweets each day and it is hard to keep track of the emotion behind each tweet as it is impossible for a human being to read and decide the emotions behind tweets. So, to help understand behind the texts in a SNS site we thought of designing a project which will keep track of the tweets and predict the right emotion behind the tweets whether they have a positive or a negative sentiment behind them. This thought of project can be achieved by a integration of SNS with NLP and machine learning together. For SNS we will use Twitter as it generates a lot of data which is accessible freely using an API. First, we will enter a keyword and fetch tweets from the twitter. Then stop words will be removed from these tweets using NLTK stop words database. Then the tweets will be passed for POS tagging and only right form of grammatical words will be kept and others will be removed. Then we create a training dataset with two types positive and negative. Then SVM algorithm will be trained using this training dataset. Then each tweet will be passed to the SVM as testing dataset which in turn will return classification of each tweet as a whole in two classes positive and negative. Thus, our application will be helpful in recognizing emotion behind a tweet.


In today’s modern world, the world population is affected with some kind of heart diseases. With the vast knowledge and advancement in applications, the analysis and the identification of the heart disease still remain as a challenging issue. Due to the lack of awareness in the availability of patient symptoms, the prediction of heart disease is a questionable task. The World Health Organization has released that 33% of population were died due to the attack of heart diseases. With this background, we have used Heart Disease Prediction dataset extracted from UCI Machine Learning Repository for analyzing and the prediction of heart disease by integrating the ensembling methods. The prediction of heart disease classes are achieved in four ways. Firstly, The important features are extracted for the various ensembling methods like Extra Trees Regressor, Ada boost regressor, Gradient booster regress, Random forest regressor and Ada boost classifier. Secondly, the highly importance features of each of the ensembling methods is filtered from the dataset and it is fitted to logistic regression classifier to analyze the performance. Thirdly, the same extracted important features of each of the ensembling methods are subjected to feature scaling and then fitted with logistic regression to analyze the performance. Fourth, the Performance analysis is done with the performance metric such as Mean Squared error (MSE), Mean Absolute error (MAE), R2 Score, Explained Variance Score (EVS) and Mean Squared Log Error (MSLE). The implementation is done using python language under Spyder platform with Anaconda Navigator. Experimental results shows that before applying feature scaling, the feature importance extracted from the Ada boost classifier is found to be effective with the MSE of 0.04, MAE of 0.07, R2 Score of 92%, EVS of 0.86 and MSLE of 0.16 as compared to other ensembling methods. Experimental results shows that after applying feature scaling, the feature importance extracted from the Ada boost classifier is found to be effective with the MSE of 0.09, MAE of 0.13, R2 Score of 91%, EVS of 0.93 and MSLE of 0.18 as compared to other ensembling methods.


Sign in / Sign up

Export Citation Format

Share Document