nerdexam
Amazon

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.

Modeling

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)
  • A
    5% (1)
  • B
    86% (18)
  • D
    10% (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.

AK-means

K-means is an unsupervised clustering algorithm, whereas the problem is a supervised classification task with labeled sentiment categories.

BMultinomial logistic regressionCorrect

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.

CRecurrent neura network (RNN)

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.

DTransfer learning

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

#Sentiment analysis#Multi-class classification#Logistic regression#Baseline modeling

Community Discussion

No community discussion yet for this question.

Full MLS-C01 Practice