Quiz Space

Machine Learning Practice · End Term · 10 May 2026 · January 2026 term

Question 5: What is the output of the following code? (Enter upto 2 d…

Question 5

+3 marksWritten answer

What is the output of the following code? (Enter upto 2 decimals)

What is the output of the following code? (Enter upto 2 decimals)
Show answer

A written answer, not marked automatically.

Question 5 of 26 in the IIT Madras BS Machine Learning Practice (MLP) End Term paper sat on 10 May 2026, in the January 2026 term (Machine Learning Practice 06 May 26). It carries 3 marks.

More questions from this paper

  1. Q1Which variant of the Naive Bayes Classifier will be most suitable to predict the Gender in the given dataset?
  2. Q2Consider the following time series analysis code: In the above code, what is the primary role of the parameter d=1 in o…
  3. Q3In the following question, an Assertion (A) is followed by a Reason (R). Choose the correct option from the choices giv…
  4. Q4Consider the following code snippet: Which employees are included in filtered_df?
  5. Q6Consider the following adaboost models: Which of the following statements are MOST accurate?
  6. Q7Consider the following code snippet: Which of the following statements are true?
  7. Q8Consider the following Python code snippet used for basic image processing and answer the question that follows: Which …
  8. Q9Identify which of the following lines (marked in comments) contain errors in the given code snippet:
  9. Q10Consider the following code snippet: What is the predicted class for the test datapoint?
  10. Q11Consider the following code snippet and answer the question that follows: Enter the value obtained as output
  11. Q12Consider the following lists containing the true values and the predicted values. Calculate the f1_score for class 1. (…
  12. Q13Consider the following code snippet for a multi-class classification problem with three classes: 0, 1, and 2. The groun…
  13. Q14Which of the following transformations are commonly used as Data Augmentation techniques?
  14. Q15Analyze the following code snippet: Which of the following statements are correct?
  15. Q16Which of the following statements regarding Tfidf Vectorizer is true?
  16. Q17Consider the following code snippet: Identify the correct code snippet/s to retrive only employees from departments whe…
  17. Q18Select all the false statements amongst the given statements:
  18. Q19Which of the following implementations of LogisticRgression cannot be used to tackle multinomial multiclass problems?
  19. Q20What is the range of the metric that is being calculated by the following code snippet?
  20. Q21Consider the following cross validation strategy: What does the above mentioned cross val strategy do?
  21. Q22Consider the given 2 different lasso regression models trained on the same dataset: Statements: 1. The coefficients of …
  22. Q23What is the sum of all values of the first column of ? (Round off to two decimal places)
  23. Q24What is the output obtained while running ?
  24. Q25We create the following ml pipeline: Which of the following statements is true?
  25. Q26Consider the following dataset X with 6 samples and 3 features and answer the given subquestions.