ML Study Hub

Home / Past papers / MLP Quiz 2 / this paper

IIT M DIPLOMA QUIZ2 EXAM QPF1 10 July 2022 - 10 Jul 2022

MLP Quiz 222 questions50 marks17 MCQ · 4 SA · 1 MSQDiploma / QUIZ2
Elapsed 00:00
Q1MCQ0 marks
question figure
  1. Yes
  2. No
Q2MCQ1 mark
Which of the following vectorizer techniques can help to convert a large collection of text documents to a matrix?
  1. CountVectorizer
  2. HashingVectorizer
  3. Both CountVectorizer and HashingVectorizer
  4. None of these
Q3MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4MCQ2 marks
question figure
  1. 0.0
  2. 1.0
  3. -1.0
  4. 0.5
Q5MCQ2 marks
Which of the options below represent the correct method to preprocess class labels in multi-class setup?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q6MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q7MCQ2 marks
question figure
  1. 0.65
  2. 0.73
  3. 0.37
  4. None of these
Q8MCQ2 marks
Rakesh is solving a regression problem with a KNN model. He has considered k = 3 for his model. Based on the graph shown below, what would you suggest him out of the following options? question figure Rakesh is solving a regression problem with a KNN model. He has considered k = 3 for his model. Based on the graph shown below, what would you suggest him out of the following options?
  1. His model is suffering from overfitting. So, he should increase the value of k.
  2. His model is suffering from underfitting. So, he should increase the value of k.
  3. His model is suffering from overfitting. So, he should decrease the value of k.
  4. His model is suffering from underfitting. So, he should decrease the value of k.
  5. No suggestions, Rakesh has already chosen the best value of k.
Q9MCQ2 marks
l1 penalty in LinearSVC classifier leads to coef_vectors which are-
  1. dense.
  2. sparse.
  3. Unique class labels.
  4. l1 penalty can’t be set via a parameter in LinearSVC.
Q10MCQ3 marks
question figure
  1. 1
  2. 0
  3. 0.5
  4. 0.40
Q11MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q12MCQ3 marks
question figure
  1. The classifier shown in ‘Curve B’ is better than the other two classifiers.
  2. The classifier shown in ‘Curve A’ is better than the other two classifiers.
  3. The classifier shown in ‘Curve C’ is better than the other two classifiers.
  4. All 3 curves demonstrate 3 classifiers of the same quality.
Q13MCQ3 marks
For a text classification task, which one of the following code snippets will be better suitable than the others?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q14MCQ3 marks
question figure
  1. 0
  2. 1
  3. 2
  4. None
Q15MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q16MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q17MSQ3 marksselect all that apply
Which of the following code blocks will correctly train a large scale regression model using partial_fit, if shape of X_train,Y_train are given as (8000,900,10) and (8000,900) respectively. Note that the dataset has been transformed into batches of size 900 each?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q18SA3 marks
question figure
Comprehension passage - the questions below it refer to this
question figure
Q19SA1.5 marks
Calculate the precision value (up to 3 decimal places) from the confusion matrix.
Q20SA1.5 marks
Calculate the recall value (up to 3 decimal places) from the confusion matrix.
Comprehension passage - the questions below it refer to this
question figure
Q21MCQ2 marks
What is the output that Prashant will get?
  1. Indices of support vectors.
  2. Number of support vectors.
  3. Weights assigned to the features when kernel=”linear”
  4. ndarray of support vectors.
Q22SA3 marks
question figure

Answer key

  1. Q1 (MCQ, 0 marks): A
  2. Q2 (MCQ, 1 marks): B
  3. Q3 (MCQ, 2 marks): A
  4. Q4 (MCQ, 2 marks): B
  5. Q5 (MCQ, 2 marks): C
  6. Q6 (MCQ, 2 marks): A
  7. Q7 (MCQ, 2 marks): B
  8. Q8 (MCQ, 2 marks): A
  9. Q9 (MCQ, 2 marks): B
  10. Q10 (MCQ, 3 marks): C
  11. Q11 (MCQ, 3 marks): D
  12. Q12 (MCQ, 3 marks): B
  13. Q13 (MCQ, 3 marks): B
  14. Q14 (MCQ, 3 marks): A
  15. Q15 (MCQ, 3 marks): D
  16. Q16 (MCQ, 3 marks): C
  17. Q17 (MSQ, 3 marks): B, D
  18. Q18 (SA, 3 marks): 6
  19. Q19 (SA, 1.5 marks): 0.970 to 0.980
  20. Q20 (SA, 1.5 marks): 0.925 to 0.935
  21. Q21 (MCQ, 2 marks): D
  22. Q22 (SA, 3 marks): 4