Which algorithm is commonly used for sentiment analysis in NLP?

Which algorithm is commonly used for sentiment analysis in NLP?

a) K-means
b) Naive Bayes
c) Apriori
d) Quick Sort

Answer:

b) Naive Bayes

Explanation:

Naive Bayes is a popular algorithm for sentiment analysis because it is simple and effective for text classification tasks.

Reference:

Natural Language Processing (NLP) Quiz – MCQ Questions and Answers

Scroll to Top