A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [sentiment-analysis]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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 ...
0
votes
0answers
12 views

Data cleaning and preparation in time series sentiment analysis

I am doing some self-study on sentiment time series analysis. However, most sources I have managed to find don't discuss data preparation for time series sentiment analysis. Is this because the whole ...
1
vote
0answers
34 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
33 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
30 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
15 views

How do I use additional features when doing sentiment analysis?

Say I have a dataset of 3 columns: text, topic and sentiment. Each row of the ...
0
votes
0answers
19 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: ...
0
votes
0answers
9 views

Endogeneity bias

For my dissertation, I am trying to determine whether chosen 'sentiment measure' have predictive power for stock returns(S&P 500). These sentiment measures consists of LN VIX for example ( change ...
0
votes
0answers
24 views

binary classification problem for data where one class potentially includes members of the other class

Situation Assuming one wants to classify text data into two sentiment categories: negative and neutral (i.e everything that is not negative). For the training process, labelled data is available. ...
1
vote
0answers
16 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 ...
0
votes
0answers
34 views

Similarity of form of two curves

Currently I'm working on a project on finding out the similarity of two movies based on the sentiment analysis I did on their subtitles. I measured the sentiment of each individual sentence and paired ...
0
votes
0answers
4 views

Aggregate Sentiment and Behaviour Index

I have data of sentiment and behavior based signals for certain stocks. They are based on positive, negative words in a document. How can I aggregate(like an index) those individual signals to ...
0
votes
0answers
44 views

How should I understand a Self-Organizing Fuzzy Neural Network?

I'm currently doing research to write a paper for a conference submission (undergraduate-level) and had a question regarding the research I've been conducting. My topic is on using Twitter sentiment ...
0
votes
0answers
36 views

Sentiment Analysis Issues Using R

I am using the R package sentimentr and sentiment function to get polarity/sentiment scores on a list of comments. The issue I am having is that the comments are in ...
2
votes
1answer
58 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 ...
0
votes
0answers
41 views

How to compare two sets of time dependent proportions?

I am doing a sentiment analysis task about the people's attitudes towards transportation services in Hong Kong. I collected Tweets near the railway stations and see if there is any difference between ...
1
vote
0answers
57 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
115 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
99 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
29 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
61 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
110 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
26 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
261 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
27 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
692 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
1k 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
249 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
266 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
1k 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
40 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
826 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
330 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
752 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
66 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
307 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
26 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
569 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
505 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
133 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
346 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
538 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
108 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
171 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 ...
1
vote
0answers
24 views

A sample of event attendees take both a pre and post event sentiment survey, how do I compare answers with population?

I am measuring the net change in opinion after an event. For example, if this is the question "This university is a leader in academic research" then the available answers are "1) Completely disagree, ...
2
votes
0answers
912 views

Effect of stop words in sentiment analysis

I'm using Naive Bayes algorithm to classify movie reviews (positive and negative). I tried to eliminate stop words (by a stop words list) before running the algorithm then I realized it led to a worse ...
1
vote
1answer
2k views

Word Vectors in Word2Vec

I am trying to do sentiment analysis. In order to convert the words to word vectors I am using word2vec model from gensim package. Suppose I have all the sentences in a list named 'sentences' and I am ...