ML Study Hub

Home / Past papers / MLP Quiz 2 / this paper

IIT M DIPLOMA AN EXAM QDD4 24 Mar 2024 - 24 Mar 2024

MLP Quiz 222 questions50 marks12 MCQ · 6 MSQ · 4 SADiploma / afternoon / QDD4
Elapsed 00:00
Q1MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MCQ2 marks
Consider a binary classification dataset with labeled as 98% negative samples and 2% positive samples. A model is trained on this data, which of the following evaluation metrics are suitable for measuring effectiveness of this model:
  1. accuracy
  2. Mean Absolute Error
  3. smote
  4. F-1 score
Q4MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q5MCQ2 marks
question figure
  1. 0.00
  2. 0.50
  3. 0.72
  4. 1.00
Q6MCQ2 marks
You’re building a machine learning pipeline to preprocess data and train a model on a classification task. You decide to use a pipeline that includes data preprocessing and a support vector machine (SVM) classifier. The following code snippet demonstrates the pipeline creation and usage: question figure You’re building a machine learning pipeline to preprocess data and train a model on a classification task. You decide to use a pipeline that includes data preprocessing and a support vector machine (SVM) classifier. The following code snippet demonstrates the pipeline creation and usage: What is the purpose of using the pipeline in this code snippet?
  1. The pipeline combines multiple models for better model performance.
  2. The pipeline allows for simultaneous training of the scaler and classifier.
  3. The pipeline simplifies the code by encapsulating preprocessing and modelingsteps.
  4. The pipeline ensures that only linear SVM can be used for this classificationtask.
Q7MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q9MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q10MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q11MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q12MCQ2 marks
Which of the following is true for a hard margin SVM algorithm ?
  1. It does not create hyperplanes as a classification decision boundary
  2. It is robust to outliers
  3. It will correctly classify all the datapoints if the data is linearly separable.
  4. It is mostly used for clustering the data
Q13MSQ3 marksselect all that apply
Which of the following is/are correct regarding RadiusNeighborsClassifier
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q14MSQ3 marksselect all that apply
Which of the following is correct?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q15MSQ3 marksselect all that apply
Which of the following option(s) are correct for the precision-recall curve
  1. A high area under the curve represents both high recall and high precision.
  2. The precision-recall curve shows the trade-off between precision and recall fordifferent threshold values.
  3. The precision-recall curve used to evaluate unsupervised algorithm forimbalanced clustered data.
  4. None of these
Q16MSQ3 marksselect all that apply
Which of the following statements are true?
  1. KNeighborsClassifier with low values of n_neighbors produces complexdecision boundaries.
  2. KNeighborsClassifier with low values of n_neighbors produces smoothdecision boundaries.
  3. In KNeighborsClassifier the scale of the features(columns) can impact thedecision boundaries.
  4. None of these
Q17MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q18MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q19SA2 marks
question figure
Q20SA2 marks
question figure
Q21SA2 marks
After training a multi-class classifier, you obtain the following confusion matrix. What will be the weighted average of the recall score for each class? question figure After training a multi-class classifier, you obtain the following confusion matrix. What will be the weighted average of the recall score for each class?
Q22SA3 marks
question figure

Answer key

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