Quiz Space

Machine Learning Practice · End Term · 7 Aug 2022 · May 2022 term

Question 30: Calculate the coefficient of determination (R²) [up to 1…

Question 30

+3 marksNumerical answer

Calculate the coefficient of determination (R²) [up to 1 decimal point] based on the following block of code.

Show answer

Correct answer: 0 (accepted within ±0.05)

Question 30 of 40 in the IIT Madras BS Machine Learning Practice (MLP) End Term paper sat on 7 Aug 2022, in the May 2022 term (IIT M FOUNDATION DIPLOMA ENDTERM QPB1 07 Aug 2022 IBA NS). It carries 3 marks.

More questions from this paper

  1. Q1The similarity between loaders and fetchers of sklearn is -
  2. Q2Which of the following options represent the main purpose of using the FeatureUnion?
  3. Q3What will be the output of the following block of code?
  4. Q4Which of the following options is the correct method to load the wine dataset and print its shape?
  5. Q5What is the output of the following block of code?
  6. Q6What is the output of the following code snippet?
  7. Q7Which of the options will be the correct output for the following code snippet?
  8. Q8Which of the options will be the correct output for the following code snippet?
  9. Q9Which of the following options is correct explained variance score for the following code snippet applying PCA techniqu…
  10. Q10Which of the following options is the correct output of the following block of code?
  11. Q11Which of the following options is the correct method to shuffle training data after each epoch in SGDRegressor?
  12. Q12Which of the following options represent the correct output of the following block of code?
  13. Q13Figure question
  14. Q14Which of the following options is the possible output for the following block of code?
  15. Q15What operation does the following code implement?
  16. Q16Which of the following options represent the recall value for the class 2 in the confusion matrix shown in Figure 1 if …
  17. Q17Consider the following code block and mark the correct output.
  18. Q18Consider X and y as the training dataset. What will be the output of the following code?
  19. Q19Which of the following options represent the design philosophy of the sklearn API?
  20. Q20Which of the following options represent(s) the correct method(s) to search for the best regularization parameter for r…
  21. Q21Consider the following block of code and mark all possible correct options.
  22. Q22What will be the output of the following code block:
  23. Q23Which of the following options represent the output of the following block of code?
  24. Q24Which of the following statements will be true based on the following diagram?
  25. Q25Which of the following options is the correct output of the following block of code?
  26. Q26Which of the following is likely to be the correct output of the code given below?
  27. Q27For the following block of code, we get the output as 0.9875. How would the output change if we decrease max depth valu…
  28. Q28Consider the following block of code and mark the correct option.
  29. Q29Consider the following code snippet. What value should we fill at the blank place, so that given code block creates gra…
  30. Q31In the given block of code, the Iris dataset having shape (150,4) has been loaded for model training. What do you think…
  31. Q32Code snippet written below plots a graph for some dataset X as shown below. In the given dendrogram which sample is mos…
  32. Q33Go through the code snippet given below and answer the subquestions. Which of the following is likely to be the correct…
  33. Q34Go through the code snippet given below and answer the subquestions. Which of the following distance metrics is used in…
  34. Q35Consider the following code snippet: Based on the above data, answer the given subquestions. What will be the output of…
  35. Q36Consider the following code snippet: Based on the above data, answer the given subquestions. What will be the output of…
  36. Q37Go through the code snippet given below and answer the subquestions. Which of the following is likely to be the correct…
  37. Q38Go through the code snippet given below and answer the subquestions. Which of the following is likely to be the correct…
  38. Q39Which of the following is/are true about the following block of the code?
  39. Q40Which of the following code blocks will throw an error ?