wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Final ML

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

What is K-means primarily used for?

a)

Dimensionality reduction

b)

Clustering

c)

Classification

d)

Regression

2.

Which algorithm is used for density-based clustering?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

3.

Which of the following is an unsupervised learning algorithm?

a)

Decision Trees

b)

DBSCAN

c)

t-SNE

d)

Factorization of non-negative matrices

4.

hat does t-SNE stand for?

a)

T-distributed Stochastic Neighbor Embedding

b)

Tree-Structured Neighborhood Embedding

c)

Time Series Network Evaluation

d)

Title Statistics Nether Embed

5.

In K-means clustering, how is the number of clusters determined?

a)

By the user input

b)

Automatically by the algorithm

c)

Randomly

d)

Typically

6.

Which algorithm is sensitive to outliers?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Random Forest

7.

Which of the following is a hierarchical clustering algorithm?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

Factorization of non-negative matrices

8.

What is the main disadvantage of Decision Trees?

a)

They are prone to overfitting

b)

They cannot handle categorical data

c)

They are computationally expensive

d)

All the above

9.

Which clustering algorithm does not require the user to specify the number of clusters?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

10.

What type of machine learning algorithm is t-SNE?

a)

Supervised

b)

Unsupervised

c)

Reinforcement

d)

Supervisor

11.

What is the output of DBSCAN clustering?

a)

Labels

b)

Centroids

c)

Noise points

d)

Variables

12.

Which algorithm can be used for both regression and classification?

a)

K-means

b)

Decision Trees

c)

DBSCAN

d)

PCA

13.

In t-SNE, what does the perplexity parameter control?

a)

The number of nearest neighbors to consider

b)

The learning rate

c)

The number of iterations

d)

All the above

14.

What is the purpose of using Decision Trees in ensemble methods like Random Forest?

a)

To reduce bias

b)

To reduce variance

c)

To speed up training

d)

All the above

15.

Which algorithm is not sensitive to the order of input data points?

a)

K-means

b)

t-SNE

c)

DBSCAN

d)

Factorization of non-negative matrices

16.

Which algorithm can handle non-linear data?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Linear regression

17.

What does the 'k' in K-means represent?

a)

Number of iterations

b)

Number of clusters

c)

Number of dimensions

d)

Number of regression

18.

Which algorithm is suitable for visualizing high-dimensional data in lower dimensions?

a)

Decision Trees

b)

t-SNE

c)

DBSCAN

d)

Linear regression

19.

Which algorithm is sensitive to the choice of distance metric?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

20.

How does Decision Trees handle missing values?

a)

By imputing the most common value

b)

By skipping the missing value during split evaluation

c)

By imputing the mean value

d)

By imputing categorical variables

21.

Which algorithm can produce a visual representation of the data in 2D or 3D?

a)

DBSCAN

b)

K-means

c)

t-SNE

d)

Factorization of non-negative matrices

22.

Which algorithm is known for its interpretability?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Random Forest

23.

Which clustering algorithm can detect arbitrarily shaped clusters

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

24.

Which algorithm is used for reducing the dimensionality of data while preserving the local structure?

a)

PCA

b)

t-SNE

c)

K-means

d)

Linear regression

25.

In Decision Trees, what is entropy used for?

a)

To measure impurity

b)

To calculate the distance between points

c)

To determine the number of clusters

d)

To determine the variables

26.

Which of the following is NOT a supervised learning algorithm?

a)

Decision Trees

b)

K-Means Clustering

c)

Support Vector Machines

d)

Linear Regression

27.

Which algorithm is commonly used for feature selection and dimensionality reduction?

a)

PCA

b)

AdaBoost

c)

Gradient Boosting

d)

Decision Trees

28.

Which algorithm is used for both classification and regression tasks and is based on the concept of decision trees?

a)

K-Means

b)

SVM

c)

Random Forest

d)

DBSCAN

29.

What type of machine learning algorithm is commonly used for grouping similar data points together into clusters based on their features, without needing labeled data?

a)

Supervised Learning

b)

Unsupervised Learning

c)

Reinforcement Learning

d)

Semi-supervised Learning

30.

Non-Negative Matrix Factorization (NMF) is a technique used in machine learning for:

a)

Dimensionality reduction and feature extraction

b)

Clustering and classification

c)

Regression analysis

d)

Association rule mining

31.

Which algorithm is sensitive to the initialization of cluster centroids?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Random Forest

32.

Which algorithm is used for feature selection?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

33.

Which algorithm is used for imputing missing values?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Factorization of non-negative matrices

34.

Which algorithm is prone to the curse of dimensionality?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

Linear regression

35.

Which algorithm uses a dendrogram to represent the hierarchy of clusters?

a)

K-means

b)

DBSCAN

c)

Hierarchical clustering

d)

Factorization of non-negative matrices

36.

Which algorithm is used for outlier detection?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Categorical variables

37.

Which algorithm is computationally expensive for large datasets?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

38.

Which algorithm is not guaranteed to converge to the global optimum?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

39.

Which algorithm is suitable for handling datasets with noise?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

40.

Which algorithm uses the concept of centroids?

a)

Decision Trees

b)

DBSCAN

c)

K-means

d)

Factorization of non-negative matrices

41.

Which algorithm is used for manifold learning?

a)

Decision Trees

b)

t-SNE

c)

K-means

d)

PCA

42.

Which algorithm is used for both regression and classification tasks?

a)

Decision Trees

b)

t-SNE

c)

K-means

d)

Random Forest

43.

Which algorithm can handle categorical data without preprocessing?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

44.

Which algorithm is used for reducing the number of features?

a)

DBSCAN

b)

K-means

c)

PCA

d)

t-SNE

45.

Which algorithm has a parameter called 'min_samples'?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

46.

Which algorithm can handle non-convex clusters?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

Logistic regression

47.

Which algorithm is based on the concept of proximity?

a)

K-means

b)

DBSCAN

c)

PCA

d)

t-SNE

48.

Which algorithm is used for ensemble learning?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

49.

What is the main drawback of K-means clustering?

a)

It doesn't work well with high-dimensional data

b)

It requires a predetermined number of clusters

c)

It is sensitive to outliers

d)

All the above

50.

Which algorithm is based on the concept of nearest neighbors?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

All the above

51.

Which algorithm requires scaling of features before application?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

t-SNE

52.

What is the main advantage of using Decision Trees?

a)

What is the main advantage of using Decision Trees?

b)

They can handle both numerical and categorical data

c)

They always converge to the global optimum

d)

They always converge to the optimal variables

53.

Which algorithm is used for anomaly detection?

a)

K-means

b)

DBSCAN

c)

Decision Trees

d)

PCA

54.

Which algorithm is sensitive to the choice of initial cluster centroids?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

55.

Which algorithm is commonly used for data preprocessing?

a)

K-means

b)

DBSCAN

c)

t-SNE

d)

PCA

56.

What is the main objective of Non-Negative Matrix Factorization (NMF)?

a)

Minimize the reconstruction error between the original matrix and its factorized form

b)

Maximize the variance of the data points

c)

Minimize the regularization term to prevent overfitting

d)

Maximize the likelihood of the observed data given the model parameters

57.

Which of the following techniques is commonly used for encoding categorical variables into numerical format for machine learning models?

a)

One-Hot Encoding

b)

Mean Encoding

c)

Label Encoding

d)

Ordinal Encoding

58.

In linear regression, what is the objective of the model?

a)

To minimize the sum of squared errors between predicted and actual values

b)

To maximize the likelihood of the observed data given the model parameters

c)

To find the optimal split points in the feature space

d)

To minimize the regularization term to prevent overfitting

59.

What is the main objective of the K-Means clustering algorithm?

a)

To maximize the likelihood of the observed data given the model parameters

b)

To minimize the reconstruction error between the original data and its low-dimensional representation

c)

To reduce the dimensionality of high-dimensional data while preserving local and global structure

d)

To partition a dataset into K clusters where each data point belongs to the cluster with the nearest mean

60.

What is the significance of the epsilon (ε) parameter in the DBSCAN algorithm?

a)

It defines the minimum number of points required to form a cluster

b)

It specifies the maximum distance between points to be considered as neighbors

c)

It determines the number of clusters to be formed

d)

It controls the trade-off between precision and recall in clustering