0% found this document useful (0 votes)
37 views7 pages

Adobe Scan 30-May-2023

This document is a question paper for a Machine Learning exam containing 8 sections with multiple questions in each section. The questions cover topics like logistic regression, K-means clustering, neural networks, support vector machines, Naive Bayes classification and more. Students are required to answer questions ranging from explaining concepts to applying algorithms to datasets and interpreting results.

Uploaded by

Manav Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views7 pages

Adobe Scan 30-May-2023

This document is a question paper for a Machine Learning exam containing 8 sections with multiple questions in each section. The questions cover topics like logistic regression, K-means clustering, neural networks, support vector machines, Naive Bayes classification and more. Students are required to answer questions ranging from explaining concepts to applying algorithms to datasets and interpreting results.

Uploaded by

Manav Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

This question paper contains 8 printed pages.

Your Roll No.....

Sr. No. of Question Paper : 4835 E

Unique Paper Code : 32347607

Name of the Paper : Machine Learning


Name of the Course B.Sc. (Hons.) Computer
Sciencc (LOCF)
Year of Admission. (Admission of 2019)
Semester

Duration:3 Hours Maximum Marks: 75

Instructions for Candidates


Write your Roll No. on the top immediatcly on receipt
of this question paper.
2 Section A is compulsory.
3 Atempt any four questions fron Section B.
4. Usc of scicntific calculator is allowed.

Section A(Compulsory)

I. (a) Explain the cost function of logistic regression.


(3)

P.T.O.
2
4835

() Give a formula for the binary sigmoid activatinn


function. Also obtain the first derivative of thi.
function.
(3)
(e) What is K-means clustering
algorithm used or?
(3)
(d) Explain two applications of machine learning.
(3)
(e) Consider the following data. Find the information
gain if A2 is selected as the root of the decision
tree. (6)

A1 A2 A3 Class
True Hot High No

Hot High No
True
Hot High Yes
False
Cool Normal Yes
False
Normal Yes
False Cool
Cool High No
True
High No
True Hot
Normal Yes
True Hot
Normal Yes
False Cool
Yes
Cool High
False
NOR
() Can a single layer perceptron solve the
(3)
your answer.
problems? Justify your
4835 3

(g) Find the line of best fit using least square


regression method, given the following data :

2 6
6 13
10 28
12 30

Predict the value of y for the test data x = 11.


(4)
(h) Given two situations : (4)
()) Apublishing house wants to
predict the
Number of copies of a book would be sold.
They want to use the popularity
rating of
the author, success index of
her/his previous
books and one other variable.
(11) Based on the
blood test reports, a
resçarcher builds a model to identify the
ype of diabetes (type I, type 2,
gestational
diabetes) that a patient has.
ldentily cach of these situations as aclassification
problem or aregression problem. Justify your
answCr;
P.T.O.
4835 4

i) Consider the Confusion matrix given below:

Actual Values

True False

Predicted True 10

False 20
Values

Compute :

(i) Accuracy

(ii) Precision

(ii)) Recall (6)

Section B

2. (a) Differentiate between superviscd, unsupervised d


reinforcement learning. (6)

(b) Using a ciagram, depict the Tollowing scenarios


for a. inachine learning model:

(i) High variance, low bias

(ii) Low variance, lugh bias (4)


5
4835
that a classification model performs
3. (a) lt is found with
high accuracy on training data, but
with a
poorly. What could
new instances, it generalizes
Explain using a
be the problem in this model?
solutions to
suitable diagram. Give two possible
(6)
this problem.

(b) Define and elaborate the terms: (4)

(i) Hypothesis space

(ii) Inductive bias

4. (a) Apply the K-nearest neighbor algorithm on the


following dataset : (4)

b Class
7 7 False
7 4 False

3 4 Truc
4 True

X (a = 3, b=7). Assumo4
Predict the class for
the
Euclidean distance to conpute
K=3(Use
distancc)
P.T.0.
4835
disadvantage of the
What is the filter approach
(b)for feature sclection?

Listthe steps for feature selection using Principal


Component Analysis(PCA),
(6)

Design a ncural network for the Boolean function


(a)
5. variables) with the help of aa neat
AND (for two
(4)
diagram.

Explain the back-propagation algorithm for a


(b)
multilayer perceptron. (6)

understand by the following terms


6. (a) What do you
(SVM) lcarning
w.r.!, Support Vector Maehinc
algorithm?

() Support vectors
(4)
(ii) Marginal distance
iteration of
one
(b) For the following data, apply in
datain
the data
K-means clustering to partitionthe(1,2,3)and
clusters. Assume points C1 =Center, Show
C2 = (3,4,5) as the initial cluster Centersafter
the gonerated clusters and cluster Cistance 0
the st ratior Use Manhattan (6)

Compute the aistancc).


4835

A B (

2 3
3 8
2
4 3

7. (a) What is the basic assumption of a Naive Bayes


classifier?
(2)
(b) Consider the following training data set
for car
theft :
Sample No. Color Type Origin Stolen?
Rod Sports Domestic Yes
2 Red Sports Domestic No
3 Red Sports Domestic Yes
4 Yellow .Sports Domestic No
5 Yellow
6
Sports Imported Yes
Yellow SUV Imported No
7 Yellow SUV Imported Yes
8
Yellow SUV Domestic No
Red SUV Imported No
10 Red Sports Imported Yes

Use the Naive Bayes classification rule to classify


a Red Domestic SUV. (8)
P.T.O.

You might also like