Nptel Week 8 Data Analytics with Python Assignment Answers 2023


1) Which of the following methods do we use to best fit the data in Logistic Regression?


A) Least SquaRe ERROR

B) Maximum Likelihood

C) Jaccard distance

D) All of these


Answer :

Option: B


2) Which of the following evaluation metrics can not be applied in case of logistic Regression output to compaRe with target?


A) AUC-ROC

B) AccuRacy

C) Logloss

D) Mean-SquaRed-ERROR


Answer :

Option: D



3)Let f(X) denote thne Logistic function.

The Range of f(x) foR any Real value of

x is


A) (0,1)

B) (-1.1)

C) All positive integeRs

D) All negative integeRs


Answer :

Option: A



4) Which of the following option is true? 


A) Linear Regression eRRORS values has to be

noRmally distributed but in case of Logistic

Regression it is not the case

B) Logistic Regression eRRORs values has to

be noRmally distributed but in case of

Linear Regression it is not the case

C) Both LineaR Regression and Logistic

Regression eRROR values have to be

noRmally distributed

D) Both LineaR Regression and Logistic

Regression eRROR values have not to be

noRmally distributed.


Answer :

Option: A


5) For the figure given below, which

decision boundary is overfitting the

tRaining data?


A) A

B) B

C) C

D) None of these


Answer :

Option: C


6) Select the correct aternatives fRom

the following based on the figure


1. The training eRROR in first plot is

maximum as compaRed to second and third

plot.

2. The best model foR this RegRession

pRoblem is the

3. The second model is moRe Robust than
fiRst and third because it will peRfoRm best on
unseen data.
4. The third model is oveRfitting moRe
compaRed to first and second.
All will perfoRm same because we have
not seen the testing data.

A)  1 and 3
B) 1 and 4
C) 1,3 and 4
D) 5

Answer :
Option: C


7) FoR categoRical data with 'n' categories
the number of dummy vaRĪables will  be

A) n
B) n - 1
C)  n + 1
D)  2n

Answer :
Option: B


8) In binary logistic Regression

A)  The dependent vaRiable is continuous
B)  The dependent vaRiable is divided into two equal subcategoRlries
C) The dependent vaRĪable consists of two
categories
D) There is no dependent variable

Answer :
Option: C


9) If the numbeR of False negatives is 5
and numbeR of TRue Positives is 20, the
value of Recall will be equal to

A) 0.2
B) 0.6
C) 0.8
D)  0.3

Answer :
Option: C


10)1f the pRecision is 0.6 and the Recall
value is 0.4, the value of f-measuRe will

A) 0.48
B)  1
C)  0.24
D) None of these

Answer :
Option: A