wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ML Quiz Dr.Diana

Total questions: 50

Worksheet time: 31mins

Name
Class
Date
1.

Identify the Problem:

We have Information of all previous general elections with respect to party, votes, Candidates, Locality, Issues in nation, etc. With All this information we need to find the winner of next general election.

a)

Classification

b)

Regression

c)

Clustering

d)

none of them

2.

Identify the problem:

We have information of all houses in a particular area like size, type and design of house, locality, colour, previous purchase etc. on the basis of these data we have to find the price of a particular house.

a)

Classification

b)

Regression

c)

Clustering

d)

Prbabilistic

3.

Identify a problem:

You have details of corona affected positive cases found in various regions. Depending upon parameters like number of increasing corona infected patients, weather conditions etc. regions are classified into red zone, Green zone and Orange Zone. On the basis of these data we have to predict the region of a city.

a)

classification

b)

regression

c)

clustering

d)

unsupervised learning

4.

State whether True or False

The most meaningful and interpretable principal components are those that have the largest eigenvalues

a)

True

b)

False

5.

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

6.

State True or False

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

a)

True

b)

False

7.

which of the following is not a method of cross validation?

a)

Leave One Out CV

b)

K-Fold CV

c)

Stratified K-Fold CV

d)

Timeline CV

8.

If I am using all features of my dataset and I achieve 100% accuracy on my training set, but ~70% on validation set, what should I look out for?

a)

Overfitting

b)

Underfitting

c)

Bestfitting

9.

Give the correct Answer for following statements.

1. It is important to perform feature normalization before using the Gaussian kernel.

2. The maximum value of the Gaussian kernel (i.e., ) is 1.

a)

Statement 1 is True and 2 is False

b)

Statement 1 is False and 2 is True

c)

Both statements are False

d)

Both Statements are True

10.

Which is/are method to do multiclass classification?

a)

One Vs Rest

b)

One vs One

c)

All vs One

d)

One vs Other

11.

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

12.

For evaluating regression models, which of the following metrics can not be used ?

a)

R Squared

b)

Adjusted R Squared

c)

SSE

d)

MST

13.

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

14.

Suppose that you have a dataset D1 and you design a linear regression model of degree 3 polynomial and you found that the training and testing error is “0” or in another terms it perfectly fits the data.

What will happen when you fit degree 4 polynomial in linear regression?

a)

There are high chances that degree 4 polynomial will over fit the data

b)

There are high chances that degree 4 polynomial will under fit the data

c)

Can't Predict

d)

None of these

15.

Which of the following function is used by Logistic Regression to convert the probability in between [0,1]

a)

Sigmoid

b)

polynomial

c)

square

d)

rbf

16.

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

17.

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

18.

Identify Performance measure P from following Traffic Pattern Analysis Algorithm.

a)

Predict traffic patterns at a busy intersection

b)

Tune Model with data about past traffic patterns

c)

Predict future traffic patterns

d)

None of the above

19.

Select All prime reasons for using unsupervised Machine Learning Algorithms.

a)

Finds all kind of unknown patterns in data.

b)

Help you to find features which can be useful for categorization.

c)

Help you to Predict whether a fruit is apple or not

d)

Help you to predict prize of stock

20.

In k-mean algorithm, K stands for

a)

Number of data

b)

Number of clusters

c)

Number of attributes

d)

Number of iterations

21.

Can Decision Tree be used for clustering?

a)

Yes

b)

No

22.

Which clustering method takes care of variance in data?

a)

k-mean

b)

Gaussian mixture model

c)

Decision tree

d)

All of the answers

23.

Which clustering method takes care of oblong dataset?

a)

k-mean

b)

Gaussian mixture model

c)

Decision tree

d)

All of the answers

24.

Does k-mean algorithm always converge?

a)

Yes

b)

No

25.

Is Gaussian mixture model supervised?

a)

Yes, It is supervised

b)

No, it is unsupervised.

26.

Is k-mean clustering supervised?

a)

Yes, It is supervised

b)

No, it is unsupervised.

27.

Is Gaussian mixture model Probabilistic?

a)

Yes, It is probabilistic.

b)

No, it is not probabilistic.

28.

In Gaussian mixture model clustering, the number of Gaussian distribution functions used is equal to

a)

Number of clusters

b)

Number of attributes

c)

Number of instances

d)

Number of iterations

29.

Which among the following is not true for a Bayesian classifier?

a)

A (natural) class is to predict the values of features for members of that class.

b)

It is a probabilistic model.

c)

It is based on Bayes' theorem.

d)

It is not used in data mining.

30.

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

31.

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

32.

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

33.

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

34.

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

35.

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

36.

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

a)

Scatter plot

b)

Barchart

c)

Histograms

d)

None of Mentioned

37.

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

a)

1

b)

2

c)

0

d)

3

38.

KNN Algorithm can be used for

a)

Only for Classification

b)

Only for Regression

c)

Both Classification and Regression

d)

None of the Mentioned

39.

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

40.

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

41.

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

42.

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

43.

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

44.

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

45.

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

46.

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

47.

Chose the correct criterion for Decision Tree Classifier in sklearn package

a)

Gini

b)

Entropy

c)

Information Gain

d)

Random

48.

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

49.

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

50.

Which of the following methods is used for feature selection in machine learning?

a)

Gradient Descent

b)

Principal Component Analysis

c)

Random Forest

d)

Support Vector Machine