wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

21CSC305P - Machnine Learning - Quiz

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

In Bayesian linear regression, the posterior distribution of the model parameters is computed by combining which of the following elements?

a)

The likelihood of the data and a regularization term

b)

The prior distribution of the parameters and a test set evaluation

c)

The likelihood of the data and the prior distribution of the parameters

d)

The posterior predictive distribution and the regularization term

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.

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

4.

What is the purpose of the kernel trick in SVM?

a)

To transform data into a higher-dimensional space

b)

To reduce the dimensionality of data

c)

To eliminate outliers from the dataset

d)

To visualize data in 2D

5.

What is a key feature of the Laplace approximation?

a)

It is applicable to discrete variables only

b)

It is used for linear regression only

c)

It finds a Gaussian approximation to a probability density

d)

It requires a large sample size

6.

Which of the following kernels is NOT commonly used in SVM?

a)

Linear Kernel

b)

Polynomial Kernel

c)

Radial Basis Function (RBF) Kernel

d)

Sigmoid Kernel

e)

Exponential Kernel

7.

In SVM, what is the primary goal of maximizing the margin?

a)

To minimize the error on the test set

b)

To minimize the error on the training set

c)

To make the model less sensitive to overfitting

d)

To increase the complexity of the decision boundary

8.

How does the k-Means algorithm determine convergence?

a)

When the centroids stop moving significantly between iterations

b)

When all data points are assigned to a cluster

c)

After a fixed number of iterations

d)

When the number of clusters equals 'k'

9.

In a multivariate normal distribution, which of the following describes the relationship between the variables?

a)

They are independent and identically distributed.

b)

They can be correlated with each other.

c)

They have equal variances.

d)

They must be normally distributed individually.

10.

___________ clustering seeks the minimum distance between any records in two clusters to find the distance between the points in two clusters.

a)

Single linkage

b)

Complete Linkage

c)

Average Linkage

d)

None

11.

What is the purpose of pre-processing the data in PCA?

a)

To make the data more comparable across attributes

b)

To make the data less comparable

c)

To discard the data

d)

To make the data more complex

12.

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

13.

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

14.

What is the purpose of the slack variable in the soft margin SVM?

a)

To handle outliers and noise in the dataset

b)

To reduce the dimensionality of the data

c)

To increase the number of support vectors

d)

To improve the speed of the algorithm

15.

What is the main difference between Regression and Classification algorithms?

a)

Regression algorithms are used to predict house prices, while Classification algorithms are used to predict weather.

b)

Regression algorithms are used to predict weather, while Classification algorithms are used to predict house prices.

c)

Regression algorithms are used to predict discrete values, while Classification algorithms are used to predict continuous values.

d)

Regression algorithms are used to predict continuous values, while Classification algorithms are used to predict discrete values.