# Introduction to Machine Learning NPTEL Week 3 Solutions NPTEL 2023

This set of MCQ(multiple choice questions) focuses on the Introduction to Machine Learning NPTEL Week 3 Solutions NPTEL 2023.

With the increased availability of data from varied sources there has been increasing attention paid to the various data driven disciplines such as analytics and machine learning. In this course we intend to introduce some of the basic concepts of machine learning from a mathematically well motivated perspective. We will cover the different learning paradigms and some of the more popular algorithms and architectures used in each of these paradigms.

### Course layout

Answers COMING SOON! Kindly Wait!

Week 1:Â Assignment answers
Week 2: Assignment answers
Week 3: Assignment answers
Week 4: Assignment answers
Week 5: Assignment answers
Week 6: Assignment answers
Week 7: Assignment answers
Week 8: Assignment answers
Week 9: Assignment answers
Week 10: Assignment answers
Week 11: Assignment answers
Week 12: Assignment answers

NOTE:Â You can check your answer immediately by clicking show answer button. Introduction to Machine Learning NPTEL Week 3 Solutions Assignment Solution” contains 10 questions.

Now, start attempting the quiz.

### Introduction to Machine learning NPTEL 2023 Week 3 Solutions

Q1. Which of the following is false about a logistic regression based classifier?

a) Â The logistic function is non-linear in the weights
b) The logistic function is linear in the weights
c) he decision boundary is non-linear in the weights
d) The decision boundary is linear in the weights

Answer: a,c

Q2. Consider the case where two classes follow Gaussian distribution which are centered at (3, 9) and (âˆ’3, 3) and have identity covariance matrix. Which of the following is the separating decision boundary using LDA assuming the priors to be equal?

a) yâˆ’x=3
b) x+y=3
c) x+y=6
d) both (b) and (c)
e) None of the above
f) Can not be found from the given information

Answer: c

Q3. Consider the following relation between a dependent variable and an independent variable identified by doing simple linear regression. Which among the following relations between the two variables does the graph indicate?

a) Â as the independent variable increases, so does the dependent variable
b) as the independent variable increases, the dependent variable decreases
c) if an increase in the value of the dependent variable is observed, then the independent variable will show a corresponding increase
d) if an increase in the value of the dependent variable is observed, then the independent variable will show a corresponding decrease
e) Â the dependent variable in this graph does not actually depend on the independent variable
f) none of the above

Answer: e

Introduction to Machine Learning NPTEL Week 3 Solutions

Q4. Given the following distribution of data points:

What method would you choose to perform Dimensionality Reduction?

a) Linear Discriminant Analysis
b) Principal Component Analysis

Answer: a

Q5. In general, which of the following classification methods is the most resistant to gross outliers?

a) Quadratic Discriminant Analysis (QDA)
b) Linear Regression
c) Logistic regression
d) Linear Discriminant Analysis (LDA)

Answer: c

Introduction to Machine Learning NPTEL Week 3 Solutions

Q6. Suppose that we have two variables, X and Y (the dependent variable). We wish to find the relation between them. An expert tells us that
relation between the two has the formÂ Y=m+X2+c=+2+. Available to us are samples of the variables X and Y. Is it possible to apply linear regression to this data to estimate the values ofÂ mÂ andÂ c?

a) no
b) yes
c) insufficient information

Answer: b

Introduction to Machine Learning NPTEL Week 3 Solutions

Q7. In a binary classification scenario whereÂ xÂ is the independent variable andÂ yÂ is the dependent variable, logistic regression assumes that the conditional distributionÂ y|x|Â follows a

a) Bernoulli distributionÂ
b) binomial distributionÂ
c) normal distributionÂ
d) exponential distribution

Answer: a

Q8. Consider the following data:

Assuming that you apply LDA to this data, what is the estimated covariance matrix?

a) [1.8750.31250.31250.9375][1.8750.31250.31250.9375]
b) [2.50.41670.41671.25]
c) [1.8750.31250.31251.2188]
d) [2.50.41670.41671.625]
e) [3.251.16671.16672.375]
f) [2.43750.8750.8751.7812]
g) None of these

Answer: g

Introduction to Machine Learning NPTEL Week 3 Solutions

Q9. Given the following 3D input data, identify the principal component.

(Steps: center the data, calculate the sample covariance matrix, calculate the eigenvectors and eigenvalues, identify the principal component)

a) âŽ¢âˆ’0.10220.00180.9948âŽ¤âŽ¦âŽ¥
b) âŽ¡âŽ£âŽ¢0.5742âˆ’0.81640.0605âŽ¤âŽ¦âŽ¥Â
c) âŽ¢0.57420.81640.0605âŽ¤âŽ¦âŽ¥
d) âŽ¡âŽ£âŽ¢âˆ’0.57420.81640.0605âŽ¤âŽ¦
e) âŽ¡âŽ£âŽ¢0.81230.57740.0824âŽ¤âŽ¦âŽ¥
f)Â None of the above

Answer: a

Q10. For the data given in the previous question, find the transformed input along the first two principal components.

a) âŽ¡âŽ£âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢0.6100âˆ’0.4487âˆ’1.26511.33450.5474âˆ’1.0250âˆ’1.26721.5142âˆ’0.0196âˆ’0.1181âˆ’0.11630.5702âˆ’0.72570.27270.1724âˆ’0.0355âŽ¤âŽ¦âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥
b) âŽ¡âŽ£âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âˆ’0.1817âˆ’1.2404âˆ’2.05680.5428âˆ’0.2443âˆ’1.8167âˆ’2.05890.72250.89440.79590.79771.48420.18841.18681.08640.8785âŽ¤âŽ¦âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥
c) âŽ¡âŽ£âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âˆ’6.2814âˆ’4.3143âˆ’3.7368âˆ’1.79502.29173.52894.91865.38830.6100âˆ’0.4487âˆ’1.26511.33450.5474âˆ’1.0250âˆ’1.26721.5142âŽ¤âŽ¦âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥Â
d) âŽ¡âŽ£âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢âŽ¢1.47213.43924.01665.958410.045111.282312.672013.1418âˆ’0.1817âˆ’1.2404âˆ’2.05680.5428âˆ’0.2443âˆ’1.8167âˆ’2.05890.7225âŽ¤âŽ¦âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥âŽ¥
e) None of the above

Answer: e

Introduction to Machine Learning NPTEL Week 3 Solutions

<< Previous- Introduction to Machine Learning Week 2 Assignment Solutions

>> Next- Introduction to Machine Learning Week 4 Assignment Solutions

`DISCLAIMER: Use these answers only for the reference purpose. Quizermania doesn't claim these answers to be 100% correct. So, make sure you submit your assignments on the basis of your knowledge.`

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Checkout for more NPTEL Courses: Click Here!