Questions tagged [sentiment-analysis]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

When to perform feature selection?

I'm making my undergraduate thesis that proposed K-Nearest Neighbor and Chi-Square feature selection to do sentiment analysis. I also using TF-IDF as term weighting. My question: is feature selection ...
0
votes
0answers
7 views

How to train sentiment analysis with neutral

I want to classify sentiment on blog and forum sites. Each post can be positive, negative or neutral. Most of the existing sentiment classification are for two classes, positive and negative. I am ...
0
votes
0answers
12 views

Different Maximum Entropy and Cross-Entropy loss?

Hi what's the difference between Maximum Entropy and Cross-Entropy loss for a sentiment classification with 2 labels (positive or negative)?
0
votes
1answer
24 views

Feature Selection in Twitter Sentiment Analysis

I'm currently working on a twitter sentiment analysis project. In this project, one requirement is to perform Feature selection for a better prediction. But I'm fairly confused about the techniques to ...
1
vote
0answers
10 views

How to Find Whether There is a Difference in Proportion of Comments in Sentiment Analysis

I have two questions to solve and need your help doing this in R Studio: I want to find whether there is a significant difference in the proportion of students (For Each Sentiment Analysis ...
0
votes
0answers
13 views

Unit of analysis for sentiment analysis

When running sentiment analysis or emotion analysis on social media conversations, is it more correct to analyze sentiment by total word mentions in the corpus or sentiment polarity of individual ...
0
votes
0answers
15 views

Sentiment about topics (defined by LDA)

For a project I do a research about topics in online reviews, and the effect of these topics on the rating (by doing a regression). Furthermore and the reason I would like to have your help: I would ...
0
votes
1answer
24 views

Combining two sequences for text classification

I'm doing text classification on comments posted on articles/stories. The two human-labeled classes are appropriate and not appropriate (not the same as happy/angry or any "sentiment" ...
0
votes
0answers
9 views

Utilizing Sentiment Analysis for future predictions

I have a generic question and I know there will be more than 1 answer. Just want to get an overall understanding of the following: I am trying to create a prediction model using sentiment as one of ...
3
votes
0answers
74 views

How do I analyze the effects of pandemic on tone of online comments?

I am looking at analyzing the effects of Covid pandemic on online communications. I am hypothesizing that user comments on discussion forums are significantly more negative in tone during the Covid ...
1
vote
0answers
14 views

NLP algorithm: sentiment with specific guidelines

So I have this situation, I have filtered a bunch of single independent sentences that I filtered because they contain the word X (in my case, X = "budget"). if the meaning of the sentence is "budget ...
0
votes
0answers
14 views

defining intensity levels for a different twitter data on the basis of sadness and happiness

I have sample data of specific twitter users, which may not be correlated with any of the existing labeled datasets with intensity levels. So I want to define an intensity level (score) for each tweet ...
0
votes
0answers
89 views

Keras - Preparing the Embedding layer with Word2Vec

I have a word2vec model. But I can't implement word2vec with keras embedding layer. In this tutorial, Preparing the Embedding layer section, they used GloVe. I want to use word2vec instead. How can I ...
1
vote
0answers
37 views

Approaches to analyzing data from forum

Working with self written example data that mimic a chat-forum with different forums (i.e. cars, politics, sports) and different threads (i.e. "why is porsche popular?", "thoughts on andrew yang?") in ...
2
votes
2answers
55 views

No Training Dataset for Sentiment Analysis Algo

I am learning about the potential with Sentiment Analysis and have gone through many examples but I am still unsure about my understanding of one crucial detail: does one always need to start ...
0
votes
0answers
32 views

R: Naive Bayes model e1071, why does it works with totally different columns in training ad testing?

I'm working with the e1071:: naiveBayes() function, but I don't figure out how it works. My doubts arose when I read this post. I've posted this question on SO, but ...
0
votes
0answers
22 views

Evaluating mediator effect, through SEM model selection with AIC [duplicate]

I am new to SEM and the lavaan R package, so perhaps this is a basic question. I have social media data with three variables: ...
1
vote
0answers
17 views

Correlation between sentiment opinions of articles and sentiment of tweets. Comment on appropriate method [closed]

I want to measure a set of hashtags on twitter, and see if peoples sentiment on a set of hashtags is affected by the sentiment of newspaper articles that they retweet. What would be the best way to ...
3
votes
1answer
67 views

Word Embedding for Sentiment Analysis

I am working on sentiment analysis of text. I am using keras word embedding. If my embedding has a vocabulary of 50 and an input length of 4 and I choose an embedding space of 8 dimensions, how will ...
1
vote
0answers
76 views

Deep Learning sentiment analysis model always predicts same class [closed]

I'd really appreciate your help as I'm not an expert in Deep Learning for sentiment analysis and I'm a bit lost. I'm using the Sentiment140 dataset: http://help.sentiment140.com/for-students First ...
0
votes
0answers
152 views

How do I normalize or weight document-feature-matrix by length of dictionary entries

What is the best practice way to normalize or weight document-feature-matrices by the length of dictionary entries. Here is some sample code. In reality, my example works with different issues e.g. ...
1
vote
0answers
112 views

Sentiment analysis probabilities

I'm looking into a Kaggle dataset of news article with three columns for the results of sentiment analysis for news items, each about a different company. The columns present the results of ...
1
vote
1answer
47 views

Getting ValueError while implementing LSTM in keras

I am getting this error while implementing LSTM in Keras: """"Error when checking input: expected lstm_16_input to have 3 dimensions, but got array with shape (156060, 1)"""" I have 156060 text ...
0
votes
2answers
69 views

Can sentiment “analysis” be called sentiment “recognition”? [closed]

In sentiment analysis application of NLP, we are basically required to predict an emotion given a piece of text. Can we say that we are doing "sentiment recognition" instead of "sentiment analysis" ?...
0
votes
1answer
117 views

Preparing test data for sentiment analysis in Tensor Flow

1) I want to do Sentiment Analysis using RNN + Tensor Flow + (Keras) 2) Is it necessary to prepare test data for sentiment analysis, using RNN, (or any Neural Network), in a certain format ? If so is ...
0
votes
1answer
36 views

Text classification - regularization worsens validation score

I have the text classification problem. Dataset is imbalanced in terms of classes. I'm using StratifiedKFold and balanced weights updating during training LogisticRegression. Let's say my score is: ...
3
votes
0answers
299 views

Delta TF-IDF right choice for multi classification problem

In the paper of Martineau & Finin they describe their new approach with Delta TF-IDF . Instead of measuring how rare features are in the document, they weight these values by how biased they are ...
0
votes
0answers
29 views

How do you use classification algorithms in a sentiment analysis?

Classification algorithms (logistic regression, SVM, etc) work on $(x, y)$ data where $y$ is a categorical (often binary) response and $x$ is a multi-variate predictor. How are these algorithms ...
0
votes
0answers
818 views

Sklearn logistic regression top coefficients meaning for sentiment analysis

I have a term document matrix, where each element represents the tf-idf value for the given term and document. There are 5000 features (terms) as columns which represents the top 5000 words, and each ...
0
votes
0answers
2k views

Sentiment Analysis using NRC emotion lexicon/EmoLex

I am trying to perform sentiment analysis on few tweets. I have come across NRC emotion lexicon (http://jonathansoma.com/lede/algorithms-2017/classes/more-text-analysis/nrc-emotional-lexicon/) and was ...
1
vote
0answers
270 views

Low score in sentiment analysis : how to increase it and maybe deal with class imbalance

It has been 2 weeks now I am working on SemEval task 4 (2016) : Sentiment Analysis on Twitter. The results I achieve are lower than what I expected for the three class classification problem : ...
1
vote
0answers
292 views

How much data is needed for transfer learning?

I have a pre-trained sentiment classifier on Amazon reviews and I want to use it for transfer learning to classify sentiments on a specific aspect of some products, for example how a person feels ...
-1
votes
1answer
2k views

How can you apply sentiment analysis on topic modelling topics?

I need to perform sentiment analysis on topic modelling. I have used LDA with grid search search to identify the topic. The next step would be to perform sentiment analysis on it. How should I go ...
0
votes
1answer
28 views

Sentiment analysis, are my samples significantly different?

I have extracted data from a reviews website. I have created a dictionary with all words that appear in the reviews and corresponding number of counts. I have then spit the reviews into two samples: ...
1
vote
1answer
56 views

Converting 3-class predictions to single score

I have model predictions for 3 ordinal classes, negative, neutral and positive for the sentiment of a given text. For further analysis I'd like to have only a single number to specify the sentiment of ...
0
votes
2answers
971 views

Train a model Sentiment Analysis scikit learn [closed]

I am getting started with NLP and Sentiment Analysis. I would like to train a model with Scikit-Learn for detecting the sentiment of tweets. I have a labeled dataset of tweets, how should I train a ...
0
votes
0answers
331 views

Sentiment Analysis - Emoticon

I am working on an NLP project, my objective is to compute a Sentiment Analysis over short text message. So far, I did not come up with a solution to account the emoticons. I want to use a machine ...
0
votes
1answer
1k views

Use of shuffled dataset for training and validating lstm recurrent neural network models

I am trying to build a recurrent neural net model using lstm trying to predict future outputs from a financial time series. Outputs are classified in macro classes according to the magnitude of ...
0
votes
0answers
70 views

How can I classify my text by using unsupervised approaches?

I have a corpus of newspaper articles and would like to classify them according to content (words, phrases) that I determine beforehand. The only way to do this that I found so far is by looking at ...
3
votes
0answers
340 views

Why does RNN overfit for sentiment analysis but not for spam detection?

I used this code which uses RNNs for spam detection and got reasonable results. But when I use the same code for sentiment analysis, the model overfits badly: its training accuracy keep growing, but ...
1
vote
0answers
26 views

Aggregate previously classified items taking into account precision&recall

I have a set of messages classified in k categories using sentiment analysis. I have also the precision, recall and accuracy of the classification technique for each category. Now I would like to ...
1
vote
0answers
27 views

adding frequency of features give better results

I have a binary feature that i want to use it with textual features i.e. one grams. I use logistic regression and TF/IDF for representing text. So i simply add a unique feature, say ss or oo, to text ...
0
votes
0answers
631 views

How to improve twitter LSTM NN sentiment analysis

I am trying to build an LSTM neural network to do sentiment analysis on twitter feeds. The dataset I use contains ~1.5M twitter feeds with either positive or negative sentiment (the tweets were ranked ...
1
vote
2answers
532 views

Sentiment analysis resources

I need to do a complete presentation about sentiment analysis with its definition, methods, applications and so on. I would be delighted if you could tell me some resource: links, books, videos, etc....
1
vote
1answer
2k views

Sentiment Analysis Dictionaries - positive, negative, neutral

I would like to classify user comments in reply to articles on news portals, especially in my country. Many comments are tweet-like in length but others can be quite long (a few hundred words). I ...
0
votes
1answer
135 views

sentiment analysis with ranking scale?

I have a Customer feedback about quality of service of a bank. I have data Excel format : header row contains the question ans, the row below contains the response of the Customer. The responses can ...
0
votes
1answer
441 views

How can these filters be found for such a convolutional neural network?

In the paper UNITN: Training Deep Convolutional Neural Network for Twitter Sentiment Classification, as the name suggests, a CNN architecture for sentiment classification is being introduced: I am ...
1
vote
1answer
564 views

Sentiment Analysis- Airbnb [closed]

Are there specific packages in R to do sentiment analysis? I have public reviews of airbnb Seattle here (http://insideairbnb.com/get-the-data.html) and I am intersted in seeing the positive, negative ...
3
votes
0answers
112 views

Machine learning basic learning question

I have been studying machine learning on my own, from online videos and tutorials and by referring books from the library. I am finding it very difficult to understand the concepts. I am not speaking ...
0
votes
1answer
173 views

Sentiment analysis for a data

I have a dataframe in which every row is a text in which I would like to implement sentiment analysis with positive or negative results. I made the appropriate cleaning to the text removing the ...