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

Sem 7 ML Assignment2

Uploaded by

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

Sem 7 ML Assignment2

Uploaded by

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

Department of Computer Engineering

Assignment -2
(Second half of 2024)

Class/Sem:VII Branch: CE
Subject: ML

Q.N Question
o
Q1 Answer Any 4

1) How is regression different from classification

2) What are the metrics used in judging the accuracy of prediction

3) What is the interpretation of odds ratio in logistic regression

4) Explain the role of machine learning algorithms in following


applications.

a) Spam filtering.

b) Google Home or Alexa

c) Unmanned vehicle

5) What do you mean by a linear regression? Which applications are


best

modeled by linear regression?

5) Write a short note on : Types of regression

6) Discuss the reinforcement learning and write in brief the


applications

7) Distinguish between overfitting and underfitting. How it can affect


model generalization?

8) Given the set of values X = (3, 9, 11, 5, 2)T and Y = (1, 8, 11, 4,
3)T . Evaluate the regression coefficients.

9) Suppose 10000 patients get tested for flu; out of them, 9000 are
actually healthy and 1000 are actually sick. For the sick people, a
test was positive for 620 and negative for 380. For the healthy
people, the same test was positive for 180 and negative for 8820.
Construct a confusion matrix for the data and compute the precision
and recall for the data.

10) What are the different methods for measuring classifier


performance?
Q2 The sales of a company (in million dollar) for each year are shown below

X(year) 2005 2006 2007 2008 2009


Y(sales) 12 19 29 37 45

a)Find least square regression line y=ax+b

b)Use least square regression line as a model to estimate the sales of company in
2012

Q3 For sunburn data set construct decision tree


Q.4 Problem No. 1: Decision of either Cinema or Tennis

Unseen Sample

X=<Sunny, Yes, Cinema> X=<Windy, Yes, Stay in>

X=<Rainy, No, Shopping> X=<Windy, No, Tennis>


Q.4.

Unseen Sample

X=<bad, low, none,>35K > X=< unknown, low, none,0-15K>

<good, high adequate,15-35K >

Q5

You might also like