ML Study Hub

Home / Past papers / MLP End Term / this paper

2023 Dec24: IIT M AN EXAM ADD4 - 24 Dec 2023

MLP End Term37 questions100 marks17 MCQ · 13 MSQ · 7 SAafternoon
Elapsed 00:00
Q1MCQ2 marks
question figure
  1. It calculates the total quantity for each category.
  2. It calculates the average quantity for each category.
  3. It groups the data by the ’Category’ column.
  4. It filters out rows where the ’Quantity’ column is zero.
Q2MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MCQ2 marks
Consider the Ridge regression model in scikit-learn, represented by the Ridge class. Which of the following statements about Ridge regression is correct?
  1. Ridge regression is specifically designed for handling non-linear relationshipsin the data.
  2. The regularization term in Ridge regression is added to the sum of squaredresiduals.
  3. Increasing the value of the regularization parameter (alpha) in Ridgeregression tends to overfit the model.
  4. Ridge regression is equivalent to ElasticNet regression when the regularizationparameter (alpha) is set to one.
Q4MCQ2 marks
question figure
  1. Speeds up the process of finding neighbors on unscaled data.
  2. k-nearest neighbors relies on computing distances. Normalizing featuresensures that each feature contributes approximately equally to the distance computation.
  3. Scaling the data significantly improves the accuracy of k-nearest neighbormodels.
  4. It doesn’t matter. K-nearest neighbors works equally well with or withoutnormalizing the dataset.
Q5MCQ2 marks
question figure
  1. The upper limit on the number of documents considered during vectorization.
  2. The maximum number of features (words) to be extracted based on termfrequency.
  3. The maximum number of randomly selected features (words).
  4. The upper limit on the number of characters allowed in each document.
Q6MCQ2 marks
question figure
  1. 4
  2. 8
  3. 12
  4. 40
  5. 44
Q7MCQ2 marks
question figure
  1. It determines the maximum fraction of neurons to be used to train the model
  2. It is the learning rate
  3. It is the L1 regularization rate.
  4. It is the L2 regularization rate.
  5. None of these
Q8MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q9MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q10MSQ2 marksselect all that apply
question figure
  1. The classifier is based on perceptron model.
  2. The classifier is based on logistic regression model.
  3. The learning rate decays every iteration.
  4. The learning rate is 0.0001.
  5. It will run exactly for 1000 iterations, which is independent of the data.
  6. None of these.
Q11MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q12MSQ2 marksselect all that apply
question figure
  1. ‘lasso’
  2. ‘poly’
  3. ‘scale’
  4. ‘rbf’
Q13MSQ2 marksselect all that apply
Which of the following are true about multilayer perceptron model in sklearn?
  1. It is an iterative algorithm/model.
  2. It can be used to capture non-linear relationships between features and labels.
  3. It can be used for regression as well as classification.
  4. It can be used for clustering.
  5. None of these
Q14MSQ3 marksselect all that apply
question figure
  1. age
  2. bmi
  3. bp
  4. s3
  5. s4
  6. s5
Q15MSQ3 marksselect all that apply
You’ve built a linear regression model to predict the temperature of a particular place 5 days from today, based on today’s humidity and wind speed. The model’s coefficients for the features are as follows: - Coefficient for humidity: +2.4 - Coefficient for wind speed: −2 What does the coefficient for ”wind speed” (5000) represent in this context?
  1. For each additional unit of increase in wind speed, the temperature isexpected to decrease by 2 units.
  2. For each additional unit of increase in wind speed, the temperature isexpected to increase by 2 units.
  3. Humidity has a stronger impact on salary than years of experience.
  4. The coefficient doesn’t have any meaningful interpretation in this scenario.
Q16MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q17MSQ3 marksselect all that apply
Which of the following estimators are exactly same?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q18MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q19MSQ3 marksselect all that apply
Choose the correct statements.
  1. Hierarchical agglomerative clustering does not need the initial number ofclusters to group the data.
  2. K-means clustering does not need the number of clusters to group the data.
  3. K-means clustering can be agglomerative or divisive.
  4. Hierarchical clustering can be agglomerative or divisive.
  5. None of these
Q20MCQ3 marks
question figure
  1. [6,5,3.75]
  2. [5,5,3]
  3. [6,5,4]
  4. [5,5,5]
Q21MCQ3 marks
question figure
  1. (2, 10)
  2. (2, 11)
  3. (2, 9)
  4. (2, 8)
Q22MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q23MCQ3 marks
question figure
  1. [0.85,0.1,0.05]
  2. [1.05 0.35]
  3. [3,2,1]
  4. There are some mistakes in the 3rd /4th line of code, hence it will produceerror.
Q24MCQ3 marks
question figure
  1. dtc1
  2. dtc2
  3. dtc3
  4. dtc4
Q25MCQ3 marks
question figure
  1. 0
  2. 1
  3. 5
  4. 10
  5. None of these
Q26SA3 marks
question figure
Q27SA3 marks
question figure
Q28SA3 marks
question figure
Q29SA2 marks
question figure
Q30MSQ4 marksselect all that apply
question figure
  1. Number of samples at node N = 10. If it is split, it will result in 5 nodes in theleft child and 5 nodes in the right child.
  2. Number of samples at node N = 5. If it is split, it will result in 2 nodes in the leftchild and 3 nodes in the right child.
  3. Number of samples at node N = 12. If it is split, it will result in 5 nodes in theleft child and 7 nodes in the right child.
  4. Number of samples at node N = 4. If it is split, it will result in 3 nodes in the leftchild and 1 node in the right child.
Q31MCQ4 marks
question figure
  1. 0
  2. 1
  3. 2
  4. 3
Q32MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q33SA4 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q34SA3 marks
Predict number of Accidents per 1000 Driver to happen for Age 28 and driving red car ?
Q35MCQ2 marks
To improve the given Linear Regression model which of the following preprocessing step you suggest?
  1. OrdinalEncoder()
  2. DecisionTree()
  3. LabelEncoder()
  4. StandardScaler()
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q36MCQ3 marks
question figure
  1. [1 1 0 1 0]
  2. [0 0 0 1 0]
  3. [0 1 0 0 0]
  4. [0 1 0 1 0]
Q37SA3 marks
question figure

Answer key

  1. Q1 (MCQ, 2 marks): A
  2. Q2 (MCQ, 2 marks): C
  3. Q3 (MCQ, 2 marks): B
  4. Q4 (MCQ, 2 marks): B
  5. Q5 (MCQ, 2 marks): B
  6. Q6 (MCQ, 2 marks): C
  7. Q7 (MCQ, 2 marks): D
  8. Q8 (MSQ, 2 marks): A, B, D
  9. Q9 (MSQ, 2 marks): A, C
  10. Q10 (MSQ, 2 marks): B, C
  11. Q11 (MSQ, 2 marks): B, C
  12. Q12 (MSQ, 2 marks): B, D
  13. Q13 (MSQ, 2 marks): A, B, C
  14. Q14 (MSQ, 3 marks): B, C, E, F
  15. Q15 (MSQ, 3 marks): A, C
  16. Q16 (MSQ, 3 marks): A, C, D
  17. Q17 (MSQ, 3 marks): A, B
  18. Q18 (MSQ, 3 marks): B, D
  19. Q19 (MSQ, 3 marks): A, C
  20. Q20 (MCQ, 3 marks): C
  21. Q21 (MCQ, 3 marks): A
  22. Q22 (MCQ, 3 marks): B
  23. Q23 (MCQ, 3 marks): B
  24. Q24 (MCQ, 3 marks): A
  25. Q25 (MCQ, 3 marks): A
  26. Q26 (SA, 3 marks): 0.7
  27. Q27 (SA, 3 marks): 2
  28. Q28 (SA, 3 marks): 250
  29. Q29 (SA, 2 marks): 3
  30. Q30 (MSQ, 4 marks): B, D
  31. Q31 (MCQ, 4 marks): A
  32. Q32 (MCQ, 4 marks): C
  33. Q33 (SA, 4 marks): 19
  34. Q34 (SA, 3 marks): 91 to 93
  35. Q35 (MCQ, 2 marks): D
  36. Q36 (MCQ, 3 marks): D
  37. Q37 (SA, 3 marks): 0.78 to 0.82