Classification _ DPP 01
Classification _ DPP 01
1/5
GATE
(D) -0.4797 +0.7674x Q13 Suppose you are given the below data, and
you want to apply a logistic regression model
Q8 In Simple Logistic regression the predictor . . . ?
for classifying it into two given classes.
(A) is interval/ratio data
(B) must undergo a logarithmic transformation
before undergoing logistic regression
(C) be in the range of 0 to 1
(D) represent ranked scores
(E) be a binary variable
Q9 In logistic regression the logit is . . . : (one You are using logistic regression with L1
correct choice) regularization.
(A) the natural logarithm of the odds ratio. ∑ni=1 log P (yi |xi, w0 , w1 , w2 )
(B) an instruction to record the data. − C (|w1 | + |w2 |).
(C) a logarithm of a digit. Where C is the regularization parameter, and w1
(D) the cube root of the sample size. & w2 are the coefficients of x1 and x2.
Which of the following option is correct when
Q10 Given an example from a dataset (x1, x2) = (4, 1),
you increase the value of C from zero to a very
observed value y = 2 and the initial weights w1,
large value?
w2, bias b as -0.015, -0.038 and 0. What will be
(A) First, w2 becomes zero, and then w1
the prediction y’.
becomes zero
(A) 0.01 (B) 0.03
(C) 0.05 (D) 0.1
(B) First, w1 becomes zero, and then w2
Q11 For the linear regression model yi- = β 0 + β 1xi, + becomes zero
let ŷ i denote the sample fitted value for the i- (C) Both become zero at the same time
th unit from the OLS procedure based on a (D) Both cannot be zero even after a very large
sample of n observations and β̂ 0 and β̂ 1 be value of C
the OLS estimators of β̂ 0 and β̂ 1 , respectively.
Q14 Likelihood (In the statistical sense) . . (one
Which of the following is true?
n correct choice)
(A) ∑i=1 ui = 0
n n (A) Is the same as a p value
(B) ∑i=1 ŷ i = ∑i=1 yi .
(B) Is the probability of observing a particular
(C) E (ŷ |x) = β̂ 0 + β̂ 1 x
parameter value given a set of data
(D) E (y|x) = β̂ 0 + β̂ 1 x
(C) attempts to find the parameter value which
is the most likely given the observed data.
Q12 A classification table: (one correct choice)
(D) minimizes the difference between the model
(A) helps the researcher assess statistical
and the data
significance.
(B) indicates how well a model has predicted Q15 A Maximum Likelihood Estimator (in the
group membership. statistical sense) . . (one correct choice)
(C) indicates how well the independent (A) Is the same as a p value
variable(s) correlate with the dependent (B) Is the probability of observing a particular
variable. parameter value given a set of data
(D) provides a basis for calculating the exp(b) (C) attempts to find the parameter value which
value is the most likely given the observed data.
2/5
GATE
(D) Is the same as R Square converge into the global minimum only if the
function is convex.
Q16 Why cost function which has been used for
(C) Linear regression uses mean squared error
linear regression can’t be used for logistic
as its cost function. If this is used for logistic
regression?
regression, then it will be a non-convex
(A) Linear regression uses mean squared error
function of its parameters. Gradient descent
as its cost function. If this is used for logistic
will converge into the global minimum only if
regression, then it will be a non-convex
the function is non-convex.
function of its parameters. Gradient descent
(D) Linear regression uses mean squared error
will converge into the global minimum only if
as its cost function. If this is used for logistic
the function is convex.
regression, then it will be a convex function
(B) Linear regression uses mean squared error as
of its parameters. Gradient descent will
its cost function. If this is used for logistic
converge into the global minimum only if the
regression, then it will be a convex function
function is non-convex.
of its parameters. Gradient descent will
3/5
GATE
Answer Key
Q1 (A) Q9 (A)
4/5
GATE
5/5