Questions tagged [sentiment-analysis]

Sentiment analysis refers to categorizing some given data as to what sentiment(s) it expresses. Usually, it refers to extracting sentiment from a text, e.g. tweets or blog posts.

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

Class wise opinion for multi-label sentiment classification

I'm trying to build a model which separates positive and negative classes and assigns the label. I have a multi-label review dataset for example: No Review Label 1 Phone is good but charger is not ...
1
vote
2answers
19 views

Word list as a baseline for measuring a classifier's performance?

I am working on a simple Naive Bayes classifier that categorizes text messages as either "positive" or "negative". I was told that the simplest baseline to measure the classifier's ...
0
votes
0answers
10 views

speech emotion recongtion cnn or rnn?

I want to build a speech emotion classifier and I labeled my data into 3 emotions {negative, neutral, positive} the speech files I have are different of length, thus my audio features (mfcc,zcr, etc.) ...
0
votes
1answer
17 views

How to perform tokenization for tweets in xlnet?

X_train has only one column that contains all tweets. ...
1
vote
1answer
13 views

Semantic analysis score as input to LSTM model for improving stock price prediction accuracy [closed]

I have created a univariate LSTM model that is predicting value of Open Price based on last 5 years opening price of a particular stock. I'm getting a decent accuracy. Now, I want to do sentiment ...
1
vote
0answers
11 views

Why is approximate nearest neighbour with LSH efficient? [closed]

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 ...
1
vote
0answers
29 views

How to implement your own word list for sentiment analysis?

I've finished web scraping and cleaning the text i'm interested in and i also have the sentiment word list i want to apply to it. However, i have a few conceptual and implementation problems. my ...
0
votes
0answers
23 views

Newspaper analysis

I'm currently working on a project, where I analyze newspaper articles about AI with NLP methods. My research question: Does newspaper coverage focus more on the advantages or disadvantages of AI? I ...
1
vote
0answers
23 views

create a knowledge base for audio sentiment analysis

do you guys have any idea how to create a knowledge base for audio classification of emotions where i am going to use it for the annotation of the data which i am going to feed it to my deep ...
0
votes
0answers
15 views

LSTM Train accuracy decreases in training time during the epoch

I'm training an LSTM model for sentiment analysis on a text corpus. There's a thing that I believe is not normal because I never have seen it in training my models. At the start of the epoch, the ...
1
vote
1answer
33 views

Validation loss diverging away from the training loss

I used the XLNET for a sentiment classifier in determining whether a comment is positive or negative. I was able to get good results But when I plotted the validation and training losses I saw this ...
0
votes
1answer
25 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 ...
4
votes
3answers
154 views

Binary classification and numerical labels

I am trying to create a sentiment analysis model using a dataset that have ~50000 positive tweets that i labeled as 1, ~50000 negative tweets that i have labeled as 0. Also i have acquired ~10000 ...
0
votes
1answer
11 views

Parse documents to obtain subjective sentiment

I'm working on a project which deals with MRC (Machine Reading Comprehension). I would like a machine to read an article and give me the sentiments based on a provided token. For Instance given the ...
1
vote
1answer
26 views

“Rare words” on vocabulary

I am trying to create a sentiment analysis model and I have a question. After I preprocessed my tweets and created my vocabulary I've noticed that I have words that appear less than 5 times in my ...
1
vote
0answers
187 views

ValueError: y should be a 1d array, got an array of shape () instead

I'm using a reviews data and trying to apply classifier model and get prediction. Here is the code i'm trying. ...
0
votes
0answers
11 views

GloVe word embeddings containing sentiment?

I've been researching sentiment analysis with word embeddings. I read papers that state that word embeddings ignore sentiment information of the words in the text. One paper states that among the top ...
0
votes
0answers
41 views

NLP Subjectivity Detection methodology?

I am working on a project where I would like to be able to specifically analyze the level of subjectivity in a given text phrase using machine learning. Essentially, I would like to be able to ...
0
votes
0answers
22 views

k-means for customer review analysis

I have a dataset of amazon Alexa reviews and want to group negative and positive reviews in separate groups. Is k-means a good approach to it? The dataset is unlabeled so how will my model know which ...
2
votes
2answers
159 views

Differentiate between positive and negative clusters

I have applied k-means clustering on my dataset of Amazon Alexa reviews. ...
0
votes
1answer
20 views

Using BERT for the first time, what are the two columns of my test_results.tsv?

I followed the steps to feed in both dev, test, train.tsv to the model, trained it, then tried to classify test data, and I only have 1 feature, and the classification is binary, 1 or 0. I assumed my ...
0
votes
1answer
22 views

making conclusions after sentiment analysis

After performing some sentiment analysis, I have a dataset that looks like this: For different products, using online reviews, I have obtained some values for positive/negative sentiments. However, ...
2
votes
0answers
23 views

Binary + Neutral Classification

I have a dataset of posts for sentiment analysis that are labelled with -1 (negative), 1 (positive) or 0 (neutral). So I wonder how should I deal with that. These are my ideas: make a multiclass ...
1
vote
0answers
55 views

How to find parts of text that answer a “why”

Given some text that describes something, how to tag / identify parts of the text that explain specific aspects - what, who, why? For example, given the following input text... ...
2
votes
1answer
24 views

Bug in sentiment analysis and classification for unlabeled text [closed]

I'm working on the transcript of Trump and Biden's debate and want to analyze the sentences and classify negative, positive, or neutral comments, but I ran into one problem. I used both TextBlob and ...
6
votes
2answers
493 views

How is it possible for RNN to do sentiment analysis?

I'm wondering how RNN can be used when doing sentiment analysis. It seems that the characteristic of RNN is to remember what appeared in the past and determine the value of the present (future), but I ...
0
votes
1answer
37 views

Text mining in Amazon product review using R. I wasn't able to extract the particular product's review

Text mining on Amazon product review using R Program. I wasn't able to extract the particular product's review(i.e.If iphone 11 has 6k review, I need to extract all of it.) I'm getting only one column ...
2
votes
2answers
44 views

Summing three lexicon based approach methods for sentiment analysis?

I'm doing sentiment analysis using a lexicon based approach and I have a bunch of news headlines that needs to be categorized as negative, positive and neutral or within a scale ranging from -1 (very ...
0
votes
1answer
87 views

Is it possible to predict sentiment of unlabelled dataset using BERT?

I have a large unlabeled dataset and I want to predict sentiment for each document in this dataset. I want to know, is it possible that I can use BERT for sentiment analysis of unlabeled data? I have ...
-1
votes
2answers
35 views

Sentiment Analysis on long and structured texts

I'm trying to learn how sentiment analysis based on machine learning techniques works by reading guides online and papers from the academia world and I'm struggling to understand the following: Why ...
0
votes
1answer
24 views

Which tool is good to collect tweets on 50 keywords over the last 5 years and then analyze them with the LDA algorithm or sentiment analysis?

I want to find tweets from the last 5 years to a topic. For this I decide for 50 Keywords (related to the main topic), where I want to find data on Twitter. I want to find out how the trend on the ...
0
votes
0answers
18 views

How are the Google Cloud Natural Language API Sentiment Analysis outputs interpreted?

I am trying to get a better understanding of the outputs given by Google's sentiment analysis API. It takes in a sentence and gives out two values - magnitude and <...
2
votes
2answers
44 views

Sentiment analysis of the target in articles

The goal is as follows: I have a big article and I want to define the sentiment of the particular word. For example, the article describes pros and cons of bikes and cars and I want to find the ...
0
votes
2answers
108 views

Reduce the risk of numerical underflow

We use log-likelihood (called as lambda) to reduce the risk of numerical underflow (in context of sentiment analysis using Naive Bayes). What does "reduce the risk of numerical underflow" ...
0
votes
0answers
179 views

Does GPT-2 has pre trained for sentiment analysis?

I tried sentiment analysis with 345M model of GPT-2. But it took a long time to train. So is there any other GPT-2 model available for sentiment analysis?
0
votes
1answer
377 views

How to make use of POS tags as useful features for a NaiveBayesClassifier for sentiment analysis?

I'm doing sentiment analysis on a twitter dataset (problem link). I have extracted the POS tags from the tweets and created tfidf vectors from the POS tags and used them as a feature (got accuracy of ...
0
votes
1answer
41 views

Unsupervised Sentimental Analysis in R

How would you evaluate unsupervised sentimental analysis? I am reading on evaluating sentimental analysis and learning that much of the classification models that are being used, the data has target/...
2
votes
2answers
35 views

Build a sentiment model from scratch

I would like to know how I can create a sentiment model from scratch. I have my data, list of texts, with no labels about sentiment. ...
1
vote
0answers
15 views

Embedding layers trained on Amazon Reviews

I am working on research to perform sentiment analysis on Amazon reviews. My data is not labelled so I am now using Lexicon based sentiment analysis such as Vader. I am wondering if it is possible to ...
3
votes
1answer
75 views

Sentiment analysis of tweets (Train model on a labelled dataset and use on some other unlabelled data)

I have a huge amount of tweets on a particular topic say 'ABC' and the data is not labelled. I want to perform multi-class sentiment analysis of these tweets. I tried many unsupervised clustering ...
0
votes
0answers
36 views

Vader vs TextBlob opposite outcome: why?

I've been studying for a Data Science course and yesterday I was challenged with a sentiment analysis, for which tons of material can be found online. So bear with me, ad I'm trying to get to the ...
1
vote
2answers
22 views

Biasing SVM algorithm towards particular subset of data

I'm training an SVM model for sentiment analysis, based on social media data eg. tweets. The model will be trained using a small selection of a particular company's tweets in order to classify new ...
1
vote
1answer
30 views

Loaded model predicts well in colab but gives same label and accuracy when downloaded

I have developed a Recurrent Neural Network to perform sentiment analysis on tweets using the Kazanova/sentiment140 dataset in Kaggle. The model looks like this: ...
0
votes
1answer
43 views

Constituency vs Dependency Parsing: What is more effective for Sentiment Analysis?

Parsing is often used to understand the sentiment of complex sentences filled with double negations or very articulated. There are two main ways of parsing a sentence: Constituency and Dependency ...
1
vote
1answer
67 views

Using BM25 to rank words

How effective is it to use BM25 to rank words, to be more specific i have a dictionary of words and i want to rank only words in a document that are also in my dictionary. I want to rank all words in ...
1
vote
1answer
45 views

How to add a new column with labels in a dataframe?

I have thousands of sentences that I would need to label based on their sentiment. An example is ...
4
votes
1answer
817 views

BPE vs WordPiece Tokenization - when to use / which?

What's the general tradeoff between choosing BPE vs WordPiece Tokenization? When is one preferable to the other? Are there any differences in model performance between the two? I'm looking for a ...
0
votes
1answer
23 views

Text analysis: structure and sentiment

I would need to analyse the structure of texts like this: ...
2
votes
1answer
55 views

Weighting of words in lexicon based sentiment analysis

I have a a question regarding my current project, i am trying to do a lexicon based sentiment analysis on my data, where i calculate the sentiment score as following: $$ Score = \frac{\sum_{i}{word_i}...
1
vote
0answers
16 views

What is the input dimension for this keras model?

I'm doing a tutorial, where I have to evaluate the sentiment of IMDB reviews, positive or negative. I first created an index for each word and then replaced every word in each review for each ...