Questions tagged [sentiment-analysis]

The tag has no usage guidance.

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

Why loss test set incerase after data agumentation?

i have small dataset 4840 samples (60% negative ,28% positive,12% negative) i use data augmentation on training set (70%train 30% test) and i have about 2000 samples for each class while test is ...
0
votes
1answer
12 views

Can a voice-based sentiment analysis model differ depending on the language?

I'm trying to figure out if building a voice-based sentiment analysis model for Brazilian portuguese would be possible. Since I couldn't find any free Brazilian datasets for voice analysis, would it ...
0
votes
0answers
11 views

Sentiment analysis model for news with BERT

I am looking for a sentiment analysis model to classify news into positive or negative thanks to a score. I have been testing several HuggingFace models (finbert, twitter-roberta-base-sentiment, bert-...
1
vote
1answer
63 views

Why Accuracy increase only 1% after data augmentation NLP?

i have small dataset 4840 samples (60% negative ,28% positive,12% negative) i use data augmentation on training set (70%train 30% test) and i have about 2000 samples for each class while test is ...
0
votes
0answers
9 views

Can we find the semantic similarity between two words in same document in encoded matrix from Latent Semantic Analysis?

Question The following the is encoded matrix obtained through Latent Semantic Analysis, my final goal is to find if we can get the semantic similarity between two words in one topic let's say topic 1 ...
1
vote
0answers
5 views

What are the covariates/explanatory variables in a news sentiment model?

In "Measuring News Sentiment", a working paper by the Fed, we have the following model:. The index $a$ indexes the news articles. A fixed effect is a term (random or not) which is allowed to ...
0
votes
0answers
16 views

Is it valid to calculate Spearman/Cramér's V with duplicate values?

I have a dataset that I want to analyze using statistic measures. Because of the nature of the data, it seems like Cramér's V is the correct method (For cases involving (school) grades only, Spearman ...
0
votes
0answers
14 views

Calculate the sentiment knowing the single probabilities

I am working on finding the sentiment of some text. Right now I am using a python library called VADER that for each sentence it gives me back the probability that a specific phrase is positive, ...
1
vote
0answers
22 views

How to parametrize a Decisiontree Classifier for NLP tasks?

I want to use sklearns DecisionTreeClassifier for sentiment analysis. I am fully aware that a decision tree is probably not a good model for this kind of task, but I want to try it anyways for the ...
0
votes
0answers
5 views

Why is approximate nearest neighbour with LSH efficient?

In a brute force nearest neighbour: (consider point in question is 'x', and total number of points is n) calculate distance between x and every other point O(n) Compare all these distances to get the ...
0
votes
1answer
17 views

Sentiment Analysis but for Descriptions in Texts?

Reviewing literature about sentiment analysis, I can only find contributions focussing on the sentiment of the author. Famous examples are twitter posts or movie reviews. I wonder if there are ...
0
votes
0answers
9 views

Subtraction of Positive and Negative Frequencies in Sentiment Analysis

In the Positive Negative Sentiment Analysis, Would it make sense mathematically to instead of keeping a score of the positive frequencies and negative frequencies of a word, calculate the difference ...
0
votes
0answers
8 views

Sentiment on Social Media Data - what to do with only 600 training examples

I'm working on a sentiment analysis-adjacent problem. I'm trying to map a huge amount of features (in the thousands) to a 100 feature output. However, due to the data limitations, I only have 600 ...
1
vote
1answer
51 views

How can I apply naive Bayes classifier for three classes (Positive, Negative and Neutral) in text data?

I found a naive Bayes classifier for positive sentiment or a negative sentiment Citius: A Naive-Bayes Strategy for Sentiment Analysis on English Tweets. But with most available datasets online, ...
1
vote
1answer
36 views

Accuracy, Precision, Recall RMSE and MAE values are same for SVM, Naive Bayes and Random Forest

I am studying on sentiment analysis of tourist reviews. 90% of reviews are positive the rest are negative. My Accuracy, Precision, Recall RMSE, and MAE values are the same for SVM, Naive Bayes, and ...
1
vote
0answers
8 views

Complexity of Maximum Entropy Algorithm in Sentiment Analysis

Does anyone know how the process of calculating the complexity of the maximum entropy algorithm and its implementation later in the sentiment analysis? Please help me, because I haven't got a ...
0
votes
0answers
20 views

Is it possible to use a dependent variable derived from one regression as an independent variable in a different regression?

For my thesis, I'm researching the effect of employee job satisfaction on customer satisfaction, mediated by service quality, using a company as a case study. I was planning to determine employee ...
0
votes
0answers
18 views

Validity and Meaning of Feature Importance in Neural Networks

I’m trying to identify the features of products which consumers are most passionate about through sentiment analysis of product reviews. While there are plenty of models which seem to be quite ...
1
vote
0answers
15 views

Can I skip the Keras Embedding Layer if I already transformed the data to Word2Vec (Google News 300 format)?

Trying to do sentiment analysis with an LSTM NN. I think I understand what the embedding layer does: map each word to a fixed-di-vector. However, previously, for each text sample, I transformed each ...
0
votes
0answers
12 views

Training data for sentiment analysis

I have a sentiment analysis model to classify tweets into three class sentiment labels (positive, negative and neutral). For training, I have two files. The first one in JSON format which includes all ...
0
votes
0answers
76 views

How to model negative zero-inflated continuous data?

I am currently trying to apply a model (family = gaussian) to an indicator of sentiment score, values range from -4 to +2, is zero-inflated and is continuous. I want to look whether there is a ...
0
votes
0answers
33 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
14 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
36 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
38 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
11 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 ...
1
vote
1answer
149 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" ...
3
votes
0answers
75 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 ...
1
vote
0answers
40 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
0answers
11 views

What method can be used to find key phrases in sentiment analysis?

I've just completed a fastai NLP processing sentiment analysis, that is, a binary classification problem using text data. It turned out very well, but I'm wondering if there is a way to find the key ...
2
votes
2answers
96 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
74 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
29 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
72 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
107 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
190 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
119 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
55 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
74 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
119 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
48 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
356 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
917 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
303 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
311 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 ...