Need help with this week’s assignment? Get detailed and trusted solutions for Introduction to Machine Learning Week 1 NPTEL Assignment Answers. Our expert-curated answers help you solve your assignments faster while deepening your conceptual clarity.
✅ Subject: Introduction to Machine Learning (nptel ml Answers)
📅 Week: 1
🎯 Session: NPTEL 2025 July-October
🔗 Course Link: Click Here
🔍 Reliability: Verified and expert-reviewed answers
📌 Trusted By: 5000+ Students
For complete and in-depth solutions to all weekly assignments, check out 👉 NPTEL Introduction to Machine Learning Week 1 Assignment Answers
🚀 Stay ahead in your NPTEL journey with fresh, updated solutions every week!
NPTEL Introduction to Machine Learning Week 1 Assignment Answers 2025
1. Which of the following are supervised learning problems (Multiple Correct)?
- Clustering Spotify users based on their listening history
- Weather forecast using data collected by a satellite
- Predicting tuberculosis using patient’s chest X-Ray
- Training a humanoid to walk using a reward system
Answer : b, c
2. Which of the following are regression tasks?
- Predicting the outcome of an election
- Predicting the weight of a giraffe based on its weight
- Predicting the emotion conveyed by a sentence
- Identifying abnormal data points
Answer : b
3. Which of the following are classification tasks (Multiple Correct)?
- Predicting the outcome of an election
- Predicting the weight of a giraffe based on its weight
- Predicting the emotion conveyed by a sentence
- Identifying abnormal data points
Answer : For Answers Click Here
(Common Data for Questions 4 and 5)
Here is a 2-dimensional plot showing two functions that classify data points into two classes. The red points belong to one class, and the green points belong to another. The dotted blue line (F1) and dashed pink line (F2) represent the two trained functions.

4. Which of the two functions overfit the training data?
- Both functions F1 & F2
- Function F1
- Function F2
- None of them
Answer : For Answers Click Here
5. Which of the following 2 functions will yield higher training error?
- Function F1
- Function F2
- Both functions F1 & F2 will have the same training error
- Can not be determined
Answer : For Answers Click Here
6. What does the term ‘policy’ refer to in reinforcement learning?
- A set of rules governing the environment
- The reward function
- The initial state of the environment
- The strategy the agent follows to choose actions
Answer : For Answers Click Here
7. Given the following dataset, for k = 3, use KNN regression to find the prediction for a new data-point (2,3) (Use Euclidean distance measure for finding closest points)

- 2.0
- 2.6
- 2.8
- 3.2
Answer : For Answers Click Here
8. For any given dataset, comment on the bias of K-nearest classifiers upon increasing the value of K.
- The bias of the classifier decreases
- The bias of the classifier does not change
- The bias of the classifier increases
- Can not be determined
Answer :
9. Bias and variance are given by:
- E[f^(x)]−f(x),E[(E[f^(x)]−f^(x))2]
- E[f^(x)]−f(x),E[(E[f^(x)]−f^(x))]2
- (E[f^(x)]−f(x))2,E[(E[f^(x)]−f^(x))2]
- (E[f^(x)]−f(x))2,E[(E[f^(x)]−f^(x))]2
Answer :
10. Which of the following statements are FALSE regarding bias and variance?
- Models which overfit have a high bias
- Models which overfit have a low bias
- Models which underfit have a high variance
- Models which underfit have a low variance
Answer : For Answers Click Here
NPTEL Introduction to Machine Learning Week 1 Assignment Answers 2024
1. Which of the following is/are unsupervised learning problem(s)?
- Grouping documents into different categories based on their topics
- Forecasting the hourly temperature in a city based on historical temperature patterns
- Identifying close-knit communities of people in a social network
- Training an autonomous agent to drive a vehicle
- Identifying different species of animals from images
Answer :- a, c
2. Which of the following statement(s) about Reinforcement Learning (RL) is/are true?
- While learning a policy, the goal is to maximize the long-term reward.
- During training, the agent is explicitly provided the most optimal action to be taken in each state.
- The state of the environment changes based on the action taken by the agent.
- RL is used for building agents to play chess.
- RL is used for predicting the prices of apartments from their features.
Answer :- a, c, d
3. Which of the following is/are classification tasks(s)?
- Predicting whether an email is spam or not spam
- Predicting the number of COVID cases over a given period
- Predicting the score of a cricket team
- Identifying the language of a text document
Answer :- a, d
4. Which of the following is/are regression task(s)?
- Predicting whether or not a customer will repay a loan based on their credit history
- Forecasting the amount of rainfall in a given place
- Identifying the types of crops from aerial images of farms
- Predicting the future price of a stock
Answer :- b, d
[tutor_course id=”26052, 2653″ exclude_ids=”” category=”” orderby=”ID” order=”DESC” count=”6″]
5. Consider the following dataset. Fit a linear regression model of the form y=β0+β1×1+β2×2 using the mean-squared error loss. Using this model, the predicted value of y at the point (x1,x2)=(0.5,−1.0)is
- −0.651
- −0.737
- 0.245−
- 0.872
Answer :- b
6. Consider the following dataset. Using a k-nearest neighbour (k-NN) regression model with k=3, predict the value of y at (x1,x2)=(0.5,−1.0) Use the Euclidean distance to find the nearest neighbours.
- −1.762
- −2.061
- −1.930
- −1.529
Answer :- c
7. Consider the following statements regarding linear regression and k-NN regression models. Select the true statements.
- A linear regressor requires the training data points during inference.
- A k-NN regressor requires the training data points during inference.
- A k-NN regressor with a higher value of k is less prone to overfitting.
- A linear regressor partitions the input space into multiple regions such that the prediction over a given region is constant.
Answer :- b, c
8. Consider a binary classification problem where we are given certain measurements from a blood test and need to predict whether the patient does not have a particular disease (class 0) or has the disease (class 1). In this problem, false negatives (incorrectly predicting that the patient is healthy) have more serious consequences as compared to false positives (incorrectly predicting that the patient has the disease). Which of the following is an appropriate cost matrix for this classification problem? The row denotes the true class and the column denotes the predicted class.

Answer :- c
9.
Consider the following dataset with three classes: 0, 1 and 2. x1 and x2 are the independent variables whereas y is the class label. Using a k-NN classifier with k = 3, predict the class label at the point (x1,x2)=(0.7,−0.8). Use the Euclidean distance to find the nearest neighbours.
- 0
- 1
- 2
- Cannot be predicted
Answer :- b
10. Suppose that we train two kinds of regression models corresponding to the following equations.
- (i) y=β0+β1×1+β2×2
- (ii) y=β0+β1×1+β2×2+β3x1x2
Which of the following statement(s) is/are correct?
- On a given training dataset, the mean-squared error of (i) is always greater than or equal to that of (ii).
- (i) is likely to have a higher variance than (ii).
- (ii) is likely to have a higher variance than (i).
- If (ii) overfits the data, then (i) will definitely overfit.
- If (ii) underfits the data, then (i) will definitely underfit.
Answer :-a, c, d


