Recall & Review
beginner
What is the main goal of a sentiment analysis pipeline?
The main goal is to automatically identify and classify the emotional tone (positive, negative, or neutral) expressed in text data.
Click to reveal answer
beginner
Name the typical steps in a sentiment analysis pipeline.
Typical steps include: 1) Text collection, 2) Text cleaning and preprocessing, 3) Feature extraction, 4) Model training or prediction, 5) Evaluation of results.
Click to reveal answer
intermediate
Why is text preprocessing important in sentiment analysis?
Preprocessing cleans the text by removing noise like punctuation, stopwords, and normalizing words, which helps the model understand the true sentiment better.
Click to reveal answer
intermediate
What is a common method for feature extraction in sentiment analysis?
A common method is converting text into numerical vectors using techniques like Bag of Words, TF-IDF, or word embeddings (e.g., Word2Vec, GloVe).
Click to reveal answer
intermediate
How do we evaluate the performance of a sentiment analysis model?
We use metrics like accuracy, precision, recall, and F1-score to measure how well the model predicts sentiment classes compared to true labels.
Click to reveal answer
Which step comes first in a sentiment analysis pipeline?
✗ Incorrect
Text collection is the first step to gather the data before any processing or modeling.
What does TF-IDF stand for in feature extraction?
✗ Incorrect
TF-IDF measures how important a word is in a document relative to a collection of documents.
Which metric balances precision and recall in model evaluation?
✗ Incorrect
F1-score is the harmonic mean of precision and recall, balancing both.
Why remove stopwords during preprocessing?
✗ Incorrect
Stopwords like 'the', 'is', 'and' are common and usually do not help in understanding sentiment.
Which model type is commonly used for sentiment classification?
✗ Incorrect
Neural networks, especially deep learning models, are widely used for sentiment classification.
Describe the full process of a sentiment analysis pipeline from raw text to sentiment prediction.
Think about how you would turn a sentence into a sentiment label step-by-step.
You got /5 concepts.
Explain why feature extraction is necessary in sentiment analysis and name two common techniques.
Models need numbers, not words, to learn patterns.
You got /4 concepts.