Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 MCQs Natural Language Processing with Classification Models

INT344 — Natural Language Processing 50 questions. Pick an option to check it.

Read the notes

0 of 50 answered 0 right 0 wrong , 50 left

  1. Question 1 of 50

    In the context of sentiment analysis using Logistic Regression, what is the primary purpose of feature extraction?

  2. Question 2 of 50

    Which function is used in Logistic Regression to map the output to a probability value between 0 and 1?

  3. Question 3 of 50

    When extracting features for sentiment analysis, what does a frequency dictionary typically map?

  4. Question 4 of 50

    In a binary logistic regression classifier for sentiment analysis, if the sigmoid output h(x) >= 0.5, how is the sentiment classified?

  5. Question 5 of 50

    What is the formula for the sigmoid function, σ(z)?

  6. Question 6 of 50

    In the feature vector representation X = [1, sum_pos, sum_neg], what does the '1' usually represent?

  7. Question 7 of 50

    Which preprocessing step is commonly performed before feature extraction to reduce the vocabulary size without losing semantic meaning?

  8. Question 8 of 50

    What is the 'Cost Function' used in Logistic Regression generally called?

  9. Question 9 of 50

    What is the goal of Gradient Descent in training a Logistic Regression model?

  10. Question 10 of 50

    In Bayes' Rule, what does P(A|B) represent?

  11. Question 11 of 50

    Why is the Naive Bayes classifier called 'Naive'?

  12. Question 12 of 50

    What is the formula for Bayes' Theorem?

  13. Question 13 of 50

    In Naive Bayes Sentiment Analysis, what is 'Laplacian Smoothing' used for?

  14. Question 14 of 50

    If a word appears in the positive corpus but not the negative corpus, what happens to its probability P(W|Negative) without smoothing?

  15. Question 15 of 50

    In Logistic Regression, if the dot product θ^T * x is 0, what is the output of the sigmoid function?

  16. Question 16 of 50

    Which of the following describes the 'Prior Probability' P(Positive) in Naive Bayes?

  17. Question 17 of 50

    Why do we typically use Log Likelihood in Naive Bayes calculations instead of raw probabilities?

  18. Question 18 of 50

    In the Naive Bayes inference formula, if the sum of the Log Prior and Log Likelihoods is greater than 0, the sentiment is classified as:

  19. Question 19 of 50

    What is a 'sparse representation' in the context of NLP feature vectors?

  20. Question 20 of 50

    Which component of the Naive Bayes classifier represents the 'Evidence' in Bayes' rule?

  21. Question 21 of 50

    In Logistic Regression, what is the dimension of the weight vector θ if the feature vector x has dimension V+1?

  22. Question 22 of 50

    Which algorithm is considered a 'Generative' model?

  23. Question 23 of 50

    Which algorithm is considered a 'Discriminative' model?

  24. Question 24 of 50

    What is the 'Lambda' (λ) term in the context of Naive Bayes ratio calculation?

  25. Question 25 of 50

    When extracting features for Logistic Regression, if the word 'happy' appears 3 times in a tweet, and 'happy' has a positive frequency of 100 and negative frequency of 5 in the corpus, how is this typically utilized?

  26. Question 26 of 50

    What is the main advantage of Logistic Regression over Naive Bayes?

  27. Question 27 of 50

    In the context of Naive Bayes, what is V?

  28. Question 28 of 50

    If the learning rate in Logistic Regression is too large, what might happen?

  29. Question 29 of 50

    Which of the following is a hyperparameter in Logistic Regression?

  30. Question 30 of 50

    How is the 'Log Prior' calculated for the positive class?

  31. Question 31 of 50

    What is the range of values for the output of the standard Naive Bayes probability calculation P(y|x) before applying logs?

  32. Question 32 of 50

    Which sentiment lexicon is purely generated from the training data in the approaches discussed?

  33. Question 33 of 50

    When predicting with Naive Bayes, if a word in the test sentence is not in the training vocabulary (V), what is the standard action?

  34. Question 34 of 50

    What is 'Sentiment Analysis' primarily classifying?

  35. Question 35 of 50

    In Logistic Regression, the decision boundary is:

  36. Question 36 of 50

    The denominator for calculating P(w|class) with Laplacian smoothing is:

  37. Question 37 of 50

    What does a negative value in a word's Log Likelihood (Lambda) score imply in Sentiment Analysis?

  38. Question 38 of 50

    Which of the following is a stop word?

  39. Question 39 of 50

    In a confusion matrix for binary classification, what is a False Positive?

  40. Question 40 of 50

    What is the primary reason for lowercasing text during preprocessing?

  41. Question 41 of 50

    If a Logistic Regression model is overfitted, how will it perform?

  42. Question 42 of 50

    Which formula represents the update rule for weight θ_j in Gradient Descent?

  43. Question 43 of 50

    In Naive Bayes, what assumption allows us to multiply probabilities of individual words?

  44. Question 44 of 50

    What is Tokenization?

  45. Question 45 of 50

    Which value of probability corresponds to the logit (log-odds) value of 0?

  46. Question 46 of 50

    What is the interpretation of weights in Logistic Regression for Sentiment Analysis?

  47. Question 47 of 50

    For a balanced dataset, which metric is most straightforward to evaluate performance?

  48. Question 48 of 50

    In vector space models, what is 'Oov'?

  49. Question 49 of 50

    The conditional probability P(Word|Positive) is conceptually similar to:

  50. Question 50 of 50

    Which technique is essentially a 'probabilistic classifier' based on applying Bayes' theorem?

That's unit 4

Answer a few questions and your score shows up here.