Top 350+ Solved Machine Learning (ML) MCQ Questions Answer
Q. Which of the following methods/methods do we use to find the best fit line for data in Linear Regression?
a. least square error
b. maximum likelihood
c. logarithmic loss
d. both a and b
Q. 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. both a and b
Q. Lasso can be interpreted as least-squares linear regression where
a. weights are regularized with the l1 norm
b. the weights have a gaussian prior
c. weights are regularized with the l2 norm
d. the solution algorithm is simpler
Q. Which of the following evaluation metrics can be used to evaluate a model while modeling a continuous output variable?
a. auc-roc
b. accuracy
c. logloss
d. mean-squared-error
Q. Simple regression assumes a __________ relationship between the input attribute and output attribute.
a. quadratic
b. inverse
c. linear
d. reciprocal
Q. In the regression equation Y = 75.65 + 0.50X, the intercept is
a. 0.5
b. 75.65
c. 1
d. indeterminable
Q. The selling price of a house depends on many factors. For example, it depends on the number of bedrooms, number of kitchen, number of bathrooms, the year the house was built, and the square footage of the lot. Given these factors, predicting the selling price of the house is an example of ____________ task.
a. binary classification
b. multilabel classification
c. simple linear regression
d. multiple linear regression
Q. Suppose, you got a situation where you find that your linear regression model is under fitting the data. In such situation which of the following options would you consider?
a. you will add more features
b. you will remove some features
c. all of the above
d. none of the above
Q. We have been given a dataset with n records in which we have input attribute as x and output attribute as y. Suppose we use a linear regression method to model this data. To test our linear regressor, we split the data in training set and test set randomly. Now we increase the training set size gradually. As the training set size increases, What do you expect will happen with the mean training error?
a. increase
b. decrease
c. remain constant
d. can’t say
Q. We have been given a dataset with n records in which we have input attribute as x and output attribute as y. Suppose we use a linear regression method to model this data. To test our linear regressor, we split the data in training set and test set randomly. What do you expect will happen with bias and variance as you increase the size of training data?
a. bias increases and variance increases
b. bias decreases and variance increases
c. bias decreases and variance decreases
d. bias increases and variance decreases
Q. Regarding bias and variance, which of the following statements are true? (Here ‘high’ and ‘low’ are relative to the ideal model. (i) Models which overfit are more likely to have high bias(ii) Models which overfit are more likely to have low bias(iii) Models which overfit are more likely to have high variance(iv) Models which overfit are more likely to have low variance
a. (i) and (ii)
b. (ii) and (iii)
c. (iii) and (iv)
d. none of these
Q. Which of the following indicates the fundamental of least squares?
a. arithmetic mean should be maximized
b. arithmetic mean should be zero
c. arithmetic mean should be neutralized
d. arithmetic mean should be minimized
Q. Suppose that we have N independent variables (X1,X2… Xn) and dependent variable is Y. Now Imagine that you are applying linear regression by fitting the best fit line using least square error on this data. You found that correlation coefficient for one of it’s variable(Say X1) with Y is 0.95.
a. relation between the x1 and y is weak
b. relation between the x1 and y is strong
c. relation between the x1 and y is neutral
d. correlation can’t judge the relationship
Q. In terms of bias and variance. Which of the following is true when you fit degree 2 polynomial?
a. bias will be high, variance will be high
b. bias will be low, variance will be high
c. bias will be high, variance will be low
d. bias will be low, variance will be low
Q. Point out the wrong statement.
a. regression through the origin yields an equivalent slope if you center the data first
b. normalizing variables results in the slope being the correlation
c. least squares is not an estimation tool
d. none of the mentioned