wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Machine Learning

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.

The residual is the difference in between ________________

a)

actual value of y and the estimated value of y

b)

actual value of x and the estimated value of x

c)

actual value of y and the estimated value of x

d)

actual value of x and the estimated value of y

5.

Suitable evaluation metric for measuring the performance of a given regression model is

a)

Mean Absolute Error

b)

Root Mean Square Error

c)

Precision

d)

Recall

6.

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

7.

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

a)

Scatter plot

b)

Barchart

c)

Histograms

d)

None of Mentioned

8.

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

a)

1

b)

2

c)

0

d)

3

9.

KNN Algorithm can be used for

a)

Only for Classification

b)

Only for Regression

c)

Both Classification and Regression

d)

None of the Mentioned

10.

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

11.

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

a)

Euclidean Distance

b)

Manhattan distance

c)

Minkowski distance

d)

Hamming distance

12.

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

13.

KNN algorithm appropriate for

a)

Lower number of features

b)

Large number of features

c)

No such restriction on number of features

d)

None of the Mentioned

14.

KNN algorithm requires

a)

More time for training

b)

More time for testing

c)

Equal time for training and testing

d)

None of the Mentioned

15.

The entropy of a given dataset is zero. This statement implies what?

a)

further splitting is required

b)

no further splitting is required

c)

Need some other information to decide splitting

d)

None of the Mentioned

16.

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

17.

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

18.

Chose the correct criterion for Decision Tree Classifier in sklearn package

a)

Gini

b)

Entropy

c)

Information Gain

d)

Random

19.

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

20.

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