Quiz Space

Machine Learning Techniques · End Term · 3 Sept 2023 · May 2023 term · Set QPD1-S1

Question 16: You are working on a binary classification problem where…

Question 16

+7 marksOne or more correct options

You are working on a binary classification problem where you need to predict whether an email is spam (1) or not (0). You have trained a machine learning model that produces predicted probabilities for each email being spam. You have two different loss functions to consider: the 0-1 loss and the squared loss.

You have a test dataset with the following true labels and predicted probabilities for a set of emails:

EmailTrue labelPredicted probability
100.8
210.2
300.6
410.9
510.3

For the given data set if Predicted probability is greater than 0.5, the predicted label will be 1 and 0 otherwise.

Select all that apply.

  1. A

    The values of 0-1 loss function will be 3

  2. B

    The values of squared loss will be equals to 2.14

  3. C

    The values of 0-1 loss equals 4.

  4. D

    The values of squared loss will be equals to 3.14

Show answer

Correct answers

  • B

    The values of squared loss will be equals to 2.14

  • C

    The values of 0-1 loss equals 4.

Question 16 of 17 in the IIT Madras BS Machine Learning Techniques (MLT) End Term paper sat on 3 Sept 2023, in the May 2023 term (IIT M DIPLOMA ET1 EXAM QPD1 S2 03 Sep). It carries 7 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Suppose you have been given a task of estimating the conversion rate of google click of new online advertisement campai…
  3. Q3You are working on a text classification problem using a Naive Bayes classifier to determine whether an email is "Spam"…
  4. Q4Figure question
  5. Q5Figure question
  6. Q6Which of the following statements is/are true?
  7. Q7Figure question
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Consider the following dataset with two features. | X | y | |---|---| | [1,1] | 1 | | [-1,-1] | 1 | | [2,2] | 3 | | [-2…
  11. Q11Figure question
  12. Q12While training a perceptron model, the weight vector at some iteration t is \mathbf{w}^t. The next two data-points pick…
  13. Q13Consider the following optimization problem involving the variable \mathbf{w} = \begin{bmatrix} w_1 & w_2 \end{bmatrix}…
  14. Q14You are working on a spam email classification problem. You have collected a dataset of some 1000 emails, labeled as ei…
  15. Q15Which of the following statements is/are true about the K-NN algorithm?
  16. Q17Consider a simple neural network with one hidden layer. The network has the following architecture: Input layer with 3 …