Professional Documents
Culture Documents
___________
Q.2 (a) Why cost function is also called as mean squared error function? 03
Explain with a suitable example.
(b) Classify in detail types of machine learning. 04
(c) 3 0 2 07
Find the inverse of the matrix 𝐴 = [2 0 −2]
0 1 1
OR
(c) What is gradient descent? Explain the role of gradient decent in 07
minimizing cost function of single and two variable functions.
Q.3 (a) What is a training set? Explain how it plays an important role in 03
Machine Learning.
(b) Explain in brief working of SVM 04
(c) What is logistic regression? Derive cost function for it and explain its 07
significance using an example.
OR
Q.3 (a) Explain and derive the representation of a model in Machine Learning 03
for linear regression.
(b) Explain why SVM is more accurate than logistic regression. 04
(c) List and explain the steps to compute Principal Component Analysis 07
with an example.
1
Q.5 (a) State few real world applications of SVM. 03
(b) What is Stochastic Gradient Descent? Explain 04
(c) The marks obtained by a student are dependent on his/her study time. 07
Given the study time in minutes and marks out of 2000, find the
relationship between study time and marks using concept of linear
regression. Also predict the marks for a student if she/he studied for
790 minutes.
Sr. No. Study Time (Min) Marks Obtained
1 350 520
2 1070 1600
3 630 1000
4 890 850
5 940 1350
6 500 490
OR
Q.5 (a) Using neat diagrams show that basic AND, OR, NAND and NOR are 03
linearly separable, while EXOR is not.
(b) What is mini batch gradient descent? Explain. 04
(c) The rent of a property is related to its area. Given the area in square 07
feet and rent in dollars, find the relationship between areas and rent
using the concept of linear regression. Also predict the rent for a
property of 790 ft2.
Sr. No. Area in ft2 Rent in $
1 340 500
2 1080 1700
3 640 1100
4 880 800
5 990 1400
6 510 500
*************