wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ML Assessment 3

Total questions: 81

Worksheet time: 41mins

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.

Following is Linear SVM classifier with 2 class classification problem. Now you have been given the following data in which some points are circled red that are representing support vectors.

If you remove the following any one red points from the data. Will the decision boundary change?

a)

True

b)

False

12.

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

13.

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

a)

R Squared

b)

Adjusted R Squared

c)

SSE

d)

MST

14.

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

15.

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

16.

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

17.

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

18.

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

19.

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

20.

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

21.

What is Machine Learning? (Choose 3 Answers)

a)

Artificial Intelligence

b)

Machine Learning

c)

Data Statistics

d)

Deep Learning

22.

from the picture, what kind of programming is it?

a)

Traditional Programming

b)

Machine Learning

c)

Modern Programming

d)

Traditional Learning

23.

What kind of learning algorithm for "Future stock prices or currency exchange rates"?

a)

Recognizing Anomalies

b)

Prediction

c)

Generating Patterns

d)

Recognition Patterns

24.

Which of the following is not type of learning?

a)

Semi-unsupervised Learning

b)

Unsupervised Learning

c)

Supervised Learning

d)

Reinforcement Learning

25.

Real-Time decisions, Game AI, Learning Tasks, Skill Aquisition, and Robot Navigation are applications in ...

a)

Unsupervised Learning: Clustering

b)

Supervised Learning: Classification

c)

Reinforcement Learning

d)

Unsupervised Learning: Regression

26.

Fraud Detection, Image Classification, Diagnostic, and Customer Retention are applications in ...

a)

Unsupervised Learning: Clustering

b)

Supervised Learning: Classification

c)

Reinforcement Learning

d)

Unsupervised Learning: Regression

27.

This picture shows a result of ...

a)

Supervised Learning: Classification

b)

Unsupervised Learning: Regression

c)

Unsupervised Learning: Prediction

d)

Supervised Learning: Regression

28.

__________________ algorithms enable the computers to learn from data, and even improve themselves, without being explicitly programmed.

a)

Artificial Intelligence

b)

Machine Learning

c)

Deep Learning

d)

Traditional Learning

29.

What device below is not an example of Machine Learning?

a)

Wearable fitness tracker

b)

Google Assistant

c)

Speech to Text

d)

Google Search

e)

None of the above

30.

What are the three types of Machine Learning? Choose three.

a)

Supervised Learning

b)

Learning Differentiated

c)

Unsupervised Learning

d)

Reinforcement Learning

e)

Technical Learning

31.

What are the two types of Supervised Learning?

a)

Classification

b)

Declassification

c)

Progression

d)

Regression

32.

What are the two types of Unsupervised Learning?

a)

Loitering

b)

Clustering

c)

Association

d)

Dissociation

33.

In this type of Machine Learning, an AI system is presented with unlabeled, uncategorized data and the system’s algorithms act on the data without prior training. The output is dependent upon the coded algorithms.

a)

Supervised Learning

b)

Unsupervised Learning

c)

Reinforcement Learning

d)

Technique Learning

34.

What type of machine learning algorithm makes predictions when you have a set of input data and you know the possible responses?

a)

Unsupervised

b)

Reinforcement

c)

Supervised

d)

Deep Learning

35.

What kind of learning algorithm for "Facial identities or facial expressions"?

a)

Recognizing Anomalies

b)

Prediction

c)

Generating Patterns

d)

Recognition Patterns

36.

ML is a field of AI consisting of learning algorithms that?

a)

Improve their performance

b)

At executing some task

c)

Over time with experience

d)

All of the above

37.

Suppose your email program watches which emails you do or do not mark as spam, and based on that learns how to better filter spam. What is the task T in this setting?

a)

Classifying emails as spam or not spam

b)

Watching you label emails as spam or not spam

c)

The number of emails correctly classified as spam/not spam

d)

None of the above

38.

Labeled Data are used in _______ Machine Learning algorithm

a)

Supervised

b)

Unsupervised

39.

Unlabeled Data are used in _______ Machine Learning algorithm

a)

Supervised

b)

Unsupervised

40.

Machine learning is mostly used when

a)

Human expertise doesn't exist

b)

Model must be customised to personal need

c)

Model use huge amount of data

d)

Interpreting the insight from descriptive data such as mean, median etc

41.

Google Translate uses ________________ to improve its results.

a)

Machine Learning

b)

Internet

c)

Machine Optimization

d)

Data Warehouses

42.

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

43.

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

44.

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

45.

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

46.

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

47.

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

48.

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

a)

Scatter plot

b)

Barchart

c)

Histograms

d)

None of Mentioned

49.

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

a)

1

b)

2

c)

0

d)

3

50.

KNN Algorithm can be used for

a)

Only for Classification

b)

Only for Regression

c)

Both Classification and Regression

d)

None of the Mentioned

51.

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

52.

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

53.

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

54.

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

55.

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

56.

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

57.

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

58.

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

59.

Chose the correct criterion for Decision Tree Classifier in sklearn package

a)

Gini

b)

Entropy

c)

Information Gain

d)

Random

60.

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

61.

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

62.

In feature scaling, what is the purpose of normalization?

a)

To convert data into a standard normal distribution

b)

To make all features have the same scale

c)

To remove outliers from the data

d)

To reduce the dimensionality of the data

63.

Among the following option identify the one which is not a type of learning

a)

Semi Unsupervised Learning

b)

Supervised Learning

c)

Reinforcement Learning

d)

Unsupervised Learning

64.

In Exploratory Data Analysis (EDA), what does a histogram visualize?

a)

Correlation between variables

b)

Distribution of a single variable

c)

Relationships between categorical variables

d)

Outliers in the dataset

65.

What is the purpose of encoding categorical variables in machine learning?

a)

To add noise to the dataset

b)

To convert numerical variables into categorical ones

c)

To handle categorical data so that it can be used as input for machine learning models

d)

To remove outliers from categorical variables

66.

What is Machine Learning?

a)

A computer program that learns from data

b)

A set of rules and instructions for a computer

c)

A type of computer hardware

d)

A way to store and retrieve information

67.

What is the primary goal of data cleaning in the context of machine learning?

a)

To remove outliers from the dataset

b)

To make the dataset more complex

c)

To convert categorical variables into numerical ones

d)

To ensure data quality and accuracy

68.

What is the role of outlier detection in data preprocessing?

a)

To remove all data points in the dataset

b)

To identify and handle extreme values that can negatively impact model performance

c)

To create synthetic outliers for model training

d)

To convert numerical variables into categorical ones

69.

What is the purpose of a box plot in exploratory data analysis?

a)

To visualize the distribution of a variable

b)

To identify outliers in the dataset

c)

To measure the correlation between two variables

d)

To encode categorical variables into numerical format

70.

What is the primary goal of unsupervised learning?

a)

Classification

b)

Regression

c)

Clustering

d)

Reinforcement learning

71.

What is the purpose of handling missing data in a dataset?

a)

To remove the entire row with missing data

b)

To replace missing values with the mean or median of the variable

c)

To ignore missing data during model training

d)

To create synthetic data for missing values

72.

In k-mean algorithm, K stands for

a)

Number of data

b)

Number of clusters

c)

Number of attributes

d)

Number of iterations

73.

Can Decision Tree be used for clustering?

a)

Yes

b)

No

74.

Which clustering method takes care of variance in data?

a)

k-mean

b)

Gaussian mixture model

c)

Decision tree

d)

All of the answers

75.

Which clustering method takes care of oblong dataset?

a)

k-mean

b)

Gaussian mixture model

c)

Decision tree

d)

All of the answers

76.

Does k-mean algorithm always converge?

a)

Yes

b)

No

77.

Is Gaussian mixture model supervised?

a)

Yes, It is supervised

b)

No, it is unsupervised.

78.

Is k-mean clustering supervised?

a)

Yes, It is supervised

b)

No, it is unsupervised.

79.

Is Gaussian mixture model Probabilistic?

a)

Yes, It is probabilistic.

b)

No, it is not probabilistic.

80.

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

81.

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.