MLS-C01 · Question #154
A company has a 1,000 sentences with sentiments categorized as positive, neutral, or negative. Which modeling technique should a Machine Learing Specialist select for training a baseline sentiment…
The correct answer is B. Multinomial logistic regression. For training a baseline sentiment model on 1,000 labeled sentences categorized as positive, neutral, or negative, a multinomial logistic regression is a suitable choice due to its simplicity, efficiency, and effectiveness for multi-class classification tasks.
Question
A company has a 1,000 sentences with sentiments categorized as positive, neutral, or negative. Which modeling technique should a Machine Learing Specialist select for training a baseline sentiment model?
Options
- AK-means
- BMultinomial logistic regression
- CRecurrent neura network (RNN)
- DTransfer learning
How the community answered
(21 responses)- A5% (1)
- B86% (18)
- D10% (2)
Why each option
For training a baseline sentiment model on 1,000 labeled sentences categorized as positive, neutral, or negative, a multinomial logistic regression is a suitable choice due to its simplicity, efficiency, and effectiveness for multi-class classification tasks.
K-means is an unsupervised clustering algorithm, whereas the problem is a supervised classification task with labeled sentiment categories.
Multinomial logistic regression is a simple, computationally efficient, and interpretable algorithm specifically designed for multi-class classification problems, making it an excellent choice for establishing a quick and effective baseline sentiment model on labeled textual data.
Recurrent Neural Networks (RNNs) are powerful deep learning models for sequence data, but they are generally more complex, computationally intensive, and require more data to train effectively than what is typically considered a baseline model, especially with only 1,000 sentences.
Transfer learning, while highly effective for natural language processing, involves fine-tuning large pre-trained models and is typically a more advanced approach rather than a simple baseline, incurring higher computational and resource overhead.
Concept tested: Baseline model selection for multi-class text classification
Source: https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html
Topics
Community Discussion
No community discussion yet for this question.