wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Mining - Classification Mining

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Dataset is divided into:

a)

Training data

b)

Evaluation data

c)

Testing data

d)

Answer

2.

What is the primary purpose of a confusion matrix in classification?

a)

To visualize the distribution of featu

b)

To evaluate the performance of a regression model

c)

To evaluate the performance of a classification model

d)

To determine the correlation between features

3.

In a confusion matrix, which cell represents the number of correctly predicted positive instances?

a)

True Positives (TP)

b)

False Positives (FP)

c)

True Negatives (TN)

d)

False Negatives (FN)

4.

How is precision calculated from a confusion matrix?

a)

TP / (TP + FN)

b)

TP / (TP + FP)

c)

(TP + TN) / (TP + FP + TN + FN)

d)

TN / (TN + FP)

5.

Which of the following best describes the process of selecting splits in a decision tree?

a)

Randomly choosing features to split

b)

Using statistical tests to determine the best split

c)

Splitting nodes based on criteria such as Gini impurity or information gain

d)

Selecting splits based on the smallest number of instances

6.

What is the purpose of pruning in decision trees?

a)

To add more branches to the tree

b)

To remove branches that have little importance and reduce overfitting

c)

To increase the accuracy of the tree on training data

d)

To increase the depth of the tree

7.

If a model has a high number of false positives, what does this indicate?

a)
  • The model is predicting many true negatives correctly.

b)

The model is incorrectly predicting negative instances as positive.

c)

The model has a high precision.

d)

The model has a high recall.

8.

How can the rules generated by a decision tree be best described?

a)

As a set of algebraic equations

b)

As a series of if-then-else statements

c)

As a linear regression equation

d)

As a confusion matrix

9.

How does class imbalance affect the confusion matrix and evaluation metrics?

a)

It can lead to misleading accuracy, favoring the majority class

b)

It does not affect the confusion matrix or metrics

c)

It ensures better precision and recall

d)

It simplifies the model building process

10.

How does the ROC curve complement the confusion matrix in evaluating a classification model?

a)

It visualizes the trade-off between true positive rate and false positive rate

b)

It shows the correlation between features

c)

It directly displays precision and recall values

d)

It helps in tuning hyperparameters

11.

In the provided confusion matrix, what is the number of True Positives (TP)?

a)

50

b)

10

c)

5

d)

35

12.

According to the confusion matrix, how many False Positives (FP) are there?

(a)  

13.

What is the accuracy of the model based on the confusion matrix?

a)

0.60

b)

0.75

c)

0.85

d)

0.95

14.

What does a higher number of False Positives (FP) indicate about the model?

a)

It is correctly identifying negative instances as negative.

b)

It is incorrectly predicting negative instances as positive.

c)

It has high recall but low precision.

d)

It has high precision but low recall.

15.

Which of the following statements is true when using a confusion matrix to compare two models?

a)

A model with higher accuracy will always have higher precision and recall.

b)

A model with a higher number of True Negatives (TN) will always have a higher accuracy.

c)

Comparing precision and recall can help determine which model performs better with imbalanced classes.

d)

The model with the highest number of False Positives (FP) is always better.