wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ML_Quiz-2

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What type of Machine Learning Algorithm is suitable for predicting the continuous dependent variable?

a)

Logistic Regression

b)

Linear Regression

c)

Decision Tree Classifier

d)

KNN Classifier

2.

What type of Machine Learning Algorithm is suitable for predicting the dependent variable with two different values?

a)

Logistic Regression

b)

Linear Regression

c)

Multiple Linear Regression

d)

Polynomial Regression

3.

The correlation in between mobile usage and exam score of a person found to be -2.2. What is your inference from the above statement.

a)

Mobile usage is positively correlated with exam score

b)

Mobile usage is negatively correlated with exam score

c)

None of the mentioned

d)

Need some other information

4.

If we decrease the input variable by one unit in a simple linear regression model. How many units of the output variable will change?

a)

reduced by Intercept

b)

increased by Intercept

c)

increased by Slope

d)

reduced by Slope

5.

Appropriate chart for visualizing the linear relationship between two variables is _________________

a)

Scatter plot

b)

Barchart

c)

Histograms

d)

None of Mentioned

6.

The Number of coefficients required to estimate a simple linear regression?

a)

1

b)

2

c)

0

d)

3

7.

KNN is ___________ algorithm

a)

Non-parametric and Lazy Learning

b)

Parametric and Lazy Learning

c)

Parametric and Eager Learning

d)

Non-parametric and Eager Learning

8.

What kind of distance metric(s) are suitable for continuous variables to find the closest neighbors

a)

Euclidean Distance

b)

Manhattan distance

c)

Minkowski distance

d)

Hamming distance

9.

If the given dataset contains 100 observations out of 50 belongs to class1 and other 50 belongs to class2. What will be the entropy of the given dataset?

a)

0

b)

1

c)

-1

d)

0.5

10.

How do you choose the root node while constructing a Decision Tree?

a)

An attribute having high entropy

b)

An attribute having largest information gain

c)

An attribute having high entropy and Information gain

d)

None of the Mentioned

11.

Chose the correct criterion for Decision Tree Classifier in sklearn package

a)

Gini

b)

Entropy

c)

Information Gain

d)

Random

12.

In a Decision Tree Leaf Node represents_____________

a)

One of the Class Label

b)

One of the complete observation

c)

One of the attribute

d)

None of the Mentioned

13.

Consider the above Confusion Matrix of a classifier and choose the correct statements

a)

Accuracy is 84%

b)

Misclassification Rate is 16%

c)

Type-I Error is 6

d)

Type-II Error is 10

14.

Consider the above Confusion Matrix of a classifier and choose the correct statements

a)

Accuracy is 84%

b)

Misclassification Rate is 16%

c)

Type-I Error is 6

d)

Type-II Error is 10

15.

State True or False

For k cross-validation, larger k value implies more bias.

a)

True

b)

False

16.

Cross validation is used for

a)

Comparing predictors

b)

Selecting parameters in prediction function

c)

Selecting variables to include in a model

d)

All of the mentioned

17.

Suppose you are dealing with 4 class classification problem and you want to train a SVM model on the data for that you are using One-vs-all method. Now, say for training 1 time in one vs all setting the SVM is taking 10 second. How many seconds would it require to train one-vs-all method end to end?

a)

20

b)

40

c)

80

d)

60

18.

Suppose that we have N independent variables (X1,X2… Xn) and dependent variable is Y. Now Imagine that you are applying linear regression.You found that correlation coefficient for one of it’s variable(Say X1) with Y is -0.95.

Which of the following is true for X1?

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 nutral

d)

Correlation can’t judge the relationship

19.

Regarding Bias and Variance ,which of the following statement is True?

a)

Model which overfit has high bias and high variance

b)

Model which overfits have Low bias and low variance

c)

Model which overfits has high Bias and Low variance

d)

Model which overfits has low Bias and High Variance

20.

Which of the following is true about Lasso and Ridge Regression?

a)

Ridge regression uses subset selection of features

b)

Lasso regression uses subset selection of features

c)

Both uses subset selection of features

d)

None of them are used for subset selection of features