Introduction To Machine Learning – IITKGP | Week 1

Session: JULY-DEC 2024

Course Name: Introduction to Machine Learning – IITKGP

These are Introduction To Machine Learning IITKGP Week 1 Nptel Assignment 1 Answers

Q1.Which of the following is a classification task?
A. Detect pneumonia from chest X-ray image
B. Predict the price of a house based on floor area, number of rooms etc.
C. Predict the temperature for the next day
D. Predict the amount of rainfall

Answer: A. Detect pneumonia from chest X-ray image

Q2.Which of the following is not a type of supervised learning?
A. Classification
B. Regression
C. Clustering
D. None of the above

These are Introduction To Machine Learning IITKGP Week 1 Nptel Assignment 1 Answers

Q3.Which of the following tasks is NOT a suitable machine learning task?
A. Finding the shortest path between a pair of nodes in a graph
B. Predicting if a stock price will rise or fall
C. Predicting the price of petroleum
D. Grouping mails as spams or non-spams

Answer: A. Finding the shortest path between a pair of nodes in a graph

Q4.Suppose I have 10,000 emails in my mailbox out of which 300 are spams. The spam detection system detects 150 mails as spams, out of which 50 are actually spams. What is the precision and recall of my spam detection system?
A. Precision = 33.33%, Recall = 25%
B. Precision = 25%, Recall = 33.33%
C. Precision = 33.33%, Recall = 16.66%
D. Precision = 75%, Recall = 33.33%

Answer: C. Precision = 33.33%, Recall = 16.66%

These are Introduction To Machine Learning IITKGP Week 1 Nptel Assignment 1 Answers

Q5.Which of the following is/are supervised learning problems?
A. Predicting disease from blood samples.
B. Grouping students in the same class based on similar features.
C. Face recognition to unlock your phone.

Answer: A. Predicting disease from blood samples.
C. Face recognition to unlock your phone.

Q6 .Aliens challenge you to a complex game that no human has seen before. They give you time to learn the game and develop strategies before the final showdown. You choose to use machine learning because an intelligent machine is your only hope. Which machine learning paradigm should you choose for this?
A. Supervised learning
B. Unsupervised learning
C. Reinforcement learning
D. Use a random number generator and hope for the best

These are Introduction To Machine Learning IITKGP Week 1 Nptel Assignment 1 Answers

Q7.How many Boolean functions are possible with N features?
A. (2^2^N)
B. (2^N)
C. (N²)
D. (4^N)

Q8.What is the use of Validation dataset in Machine Learning?
A. To train the machine learning model.
B. To evaluate the performance of the machine learning model
C. To tune the hyperparameters of the machine learning model
D. None of the above.

Answer: C. To tune the hyperparameters of the machine learning model

These are Introduction To Machine Learning IITKGP Week 1 Nptel Assignment 1 Answers

Q9.Regarding bias and variance, which of the following statements are true? (Here ‘high’ and ‘low’ are relative to the ideal model.)
A. Models which overfit have a high bias.
B. Models which overfit have a low bias.
C. Models which underfit have a high variance.
D. Models which underfit have a low variance.

Answer: B. Models which overfit have a low bias.
D. Models which underfit have a low variance.

These are Introduction To Machine Learning IITKGP Week 1 Nptel Assignment 1 Answers

Q10.Which of the following is a categorical feature?
A. Height of a person
B. Price of petroleum
C. Mother tongue of a person
D. Amount of rainfall in a day

Answer: C. Mother tongue of a person