Are you looking for NPTEL Introduction to Machine Learning Assignment Week 2 Answers? If yes, you will find the answers to the questions asked in the NPTEL Introduction to Machine Learning quiz exam here. If you are preparing for this exam this article will help you in finding the latest and updated answers.

There is a total of 10 questions related to Linear Regression, Multivariate Regression, Subset Selection, Shrinkage Methods, Principal Component Regression, Partial Least squares. The correct answers are marked in Green Color with a tick sign.

Note: If the questions in the exam is not same/changed please share them with us, so that we update with the latest questions & answers

### NPTEL Introduction to Machine Learning Assignment Week 2 Answers

**1. In building a linear regression model for a particular data set, you observe the coefficient of one of the features having a relatively high negative value. This suggests that**

**2. We have seen methods like ridge and lasso to reduce variance among the coefficients. We can use these methods to do feature selection also. Which one of them is more appropriate?**

**3. Given a set of n data points, (X1, Y1), (X2.Y2), …, (Xn, Yn), the best least squares fit f (X) is obtained by minimization of:**

**4. During linear regression, with regards to residuals, which among the following is true?**

**5. In the lecture on Multivariate Regression, you learn about using orthogonalization iteratively to obtain regression co-efficient. This method is generally referred to as Multiple Regression using Successive Orthogonalization**

In the formulation of the method, we observe that in iteration k, we regress the entire dataset on *Z _{0}, Z_{1}, … Z_{k-1}*. it seems like a waste of computation to recompute the coefficients for

*Z*a total of p times,

_{0}*Z*a total of

_{1}*p – 1*times and so on. Can we reuse the coefficients computed in iteration j for iteration

*j+1 for z,-1*?

**6. You decide to reduce the dimensionality of your data (N x p) using Best Subset Selection. The library you’re using has a function regress(X, Y) that takes in X and Y and regresses Y on X. What is the expected number of times regress(· , ·) will be called during your dimensionality reduction? **

**7. If the number of features is larger than the number of training data points, to identify a suitable subset of the features for use with linear regression, we would prefer**

**8. Assume you have a five-dimensional input data for a three-class classification problem. Further assume that all five dimensions of the input are independent to each other. In this scenario, is it possible for linear regression using lasso to result in one or more coefficients to become zero?**

**9. You are given the following five three-dimensional training data instances (along with one- dimensional output)**

- X
_{1}= 5, X_{2}= 7, X_{3}= 3, y = 4 - X
_{1}= 2, X_{2}= 4, X_{3}= 9, y= 8 - X
_{1}= 3, X_{2}= 8, X_{3}= 1, y= 2 - X
_{1}= 7, X_{2}= 7, X_{3}= 2, y=3 - X
_{1}= 1, X_{2}= 9, X_{3}= 7, y = 8

Using the K-nearest neighbour technique for performing regression, what will be the predicted y value corresponding to the query point (X_{1} = 5, X_{2} =3, X_{3} = 4), for K= 2?

**10. For the dataset given in the previous question, what will be the predicted y value corresponding to the query point (X _{1} = 5, X_{2} = 3, X_{3} = 4), for K= 3? **

### FAQ

**What is NPTEL Introduction to Machine Learning?**

NPTEL Introduction to Machine Learning Course is an online free course by IIT Madras that has been developed by Prof. Balaraman Ravindran. The main aim of this course is to provide the basic concepts of machine learning from a mathematically well-motivated perspective.

**Are These Answers Correct?**

Yes, all these answers are 100% correct.

**Are These Answers Updated?**

Yes, these answers are up to date with the latest questions.

**Will I Get a Certificate?**

Yes, you will get a certificate but it costs ₹1000 exam fee.

### Wrap Up

I hope now you know all the NPTEL Introduction to Machine Learning Assignment Unit 4 – Week 2 Answers. If this article helped you find the NPTEL Introduction to Machine Learning Course Answer don’t forget to share it with your friends who are looking for NPTEL Introduction to Machine Learning Assignment Answers.

**Disclaimer**: These Answers are only for educational purposes so please don’t use them for any cheating purposes. We urge you to do assignments on your own.