wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Machine Learning Quiz

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

Which of the following is NOT a common type of machine learning?

a)

Supervised learning

b)

Unsupervised learning

c)

Reinforcement learning

d)

Statistical learning

2.

Which of the following is an example of a regression problem?

a)

Classifying images of animals into different species

b)

Predicting the price of a house based on its features

c)

Identifying spam emails

d)

Recommending products to customers based on their purchase history

3.

What is the purpose of a cost function in machine learning?

a)

To measure the accuracy of the model's predictions

b)

To optimize the model's parameters during training

c)

To prevent overfitting of the model to the training data

d)

To reduce the complexity of the model

4.

Which of the following is a common method for evaluating the performance of a machine learning model?

a)

Cross-validation

b)

Gradient descent

c)

Feature engineering

d)

Regularization

5.

What is the difference between a validation set and a test set in machine learning?

a)

A validation set is used to train the model, while a test set is used to evaluate its performance.

b)

A validation set is used to tune the hyperparameters of the model, while a test set is used to evaluate its final performance.

c)

A validation set is used to evaluate the model's generalization performance, while a test set is used to evaluate its training performance.

d)

There is no difference between a validation set and a test set.

6.

Which of the following is an example of an ensemble learning technique?

a)

Linear regression

b)

Decision trees

c)

Naive Bayes classification

d)

Support vector machines (SVM)

7.

What is the purpose of feature scaling in machine learning?

a)

To make the model more complex

b)

To reduce the size of the dataset

c)

To improve the accuracy of the model

d)

To normalize the features so they have similar ranges

8.

Which of the following is an example of a clustering algorithm?

a)

Linear regression

b)

K-means

c)

Random forests

d)

Gradient boosting

9.

Which of the following is an example of a kernel function used in SVMs?

a)

Sigmoid

b)

Rectified linear unit (ReLU)

c)

Softmax

d)

Cross-entropy

10.

Which of the following is a disadvantage of using a decision tree algorithm?

a)

It is computationally expensive to train

b)

It can be prone to overfitting

c)

It requires a large amount of labeled data

d)

It is only suitable for binary classification problems

11.

Which of the following is a common clustering algorithm?

a)

Linear regression

b)

K-means

c)

Decision trees

d)

Naive Bayes

12.

What is the primary goal of dimensionality reduction in machine learning?

a)

To improve the accuracy of the model

b)

To speed up the training process

c)

To simplify the data without losing important information

d)

To increase the complexity of the model

13.

Which of the following is an example of a linear dimensionality reduction technique?

a)

Principal component analysis (PCA)

b)

K-means clustering

c)

Gaussian mixture models (GMM)

d)

Support vector machines (SVM)

14.

Which of the following is a disadvantage of using hierarchical clustering?

a)

It is computationally expensive

b)

It requires a large amount of labeled data

c)

It can be sensitive to the choice of distance metric

d)

It is only suitable for low-dimensional data