wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Exploring Supervised Learning Techniques

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the primary goal of linear regression?

a)

To predict future values without any data

b)

To model the relationship between variables.

c)

To minimize the number of variables used

d)

To create complex non-linear models

2.

Explain the difference between supervised and unsupervised learning.

a)

Supervised learning is only used for classification tasks.

b)

Supervised learning uses labeled data for training, while unsupervised learning uses unlabeled data to find patterns.

c)

Supervised learning is faster than unsupervised learning.

d)

Unsupervised learning requires more data than supervised learning.

3.

What type of problems is logistic regression used for?

a)

Logistic regression is used for binary classification problems.

b)

Clustering problems

c)

Regression analysis for continuous outcomes

d)

Time series forecasting

4.

Describe how the KNN algorithm classifies data points.

a)

KNN classifies data points by random selection.

b)

The KNN algorithm classifies data points based on the majority class of their 'k' nearest neighbors.

c)

KNN uses a single farthest neighbor to classify points.

d)

KNN assigns classes based on the average distance to all points.

5.

What does SVM stand for and what is its main purpose?

a)

Support Vector Method

b)

Support Vector Model

c)

Supervised Vector Machine

d)

Support Vector Machine

6.

Compare decision trees and random forests in terms of accuracy.

a)

Random forests have lower accuracy than decision trees in all cases.

b)

Decision trees are always more accurate than random forests.

c)

Decision trees and random forests have the same level of accuracy.

d)

Random forests are generally more accurate than decision trees.

7.

What is the equation of a simple linear regression model?

a)

y = mx + b

b)

y = m + bx

c)

y = ax^2 + b

d)

y = mx^2 + c

8.

How does the KNN algorithm determine the nearest neighbors?

a)

It averages the coordinates of all points to determine proximity.

b)

The KNN algorithm determines the nearest neighbors by calculating distances and selecting the closest 'k' points.

c)

It uses a decision tree to find neighbors.

d)

It randomly selects points without considering distance.

9.

What are the advantages of using logistic regression?

a)

Requires large datasets for accuracy

b)

High complexity in model interpretation

c)

Inability to handle categorical variables

d)

Advantages of using logistic regression include simplicity, interpretability, efficiency, probability outputs, and suitability for binary outcomes.

10.

In what scenarios would you prefer SVM over KNN?

a)

When computational efficiency is the top priority

b)

When the data is not linearly separable

c)

When working with small datasets and noisy data

d)

When dealing with high-dimensional data, limited data, need for clear margins, or larger datasets.

11.

What is overfitting in the context of decision trees?

a)

Overfitting in decision trees is when the model captures noise and outliers, leading to poor generalization on new data.

b)

Overfitting occurs when the model is too simple and fails to capture the underlying patterns.

c)

Overfitting is when the model performs well on training data but poorly on validation data due to lack of complexity.

d)

Overfitting happens when the decision tree is pruned excessively, leading to underfitting.

12.

How does random forest improve upon decision trees?

a)

Random forest reduces overfitting and increases accuracy by combining multiple decision trees.

b)

Random forest uses a single decision tree for predictions.

c)

Random forest does not require any data preprocessing.

d)

Random forest only works with categorical data.

13.

What is the role of the cost function in linear regression?

a)

The cost function quantifies the error between predicted and actual values, guiding the optimization of model parameters.

b)

The cost function is used to calculate the correlation coefficient.

c)

The cost function determines the model's complexity.

d)

The cost function predicts future values directly.

14.

Explain the concept of margin in SVM classification.

a)

The margin is the average distance of all points from the decision boundary.

b)

The margin is the total number of support vectors used in classification.

c)

The margin in SVM classification is the distance between the closest points of different classes to the decision boundary, which SVM aims to maximize.

d)

The margin is the area where no data points exist in the feature space.

15.

What are the key hyperparameters in a random forest model?

a)

learning_rate

b)

dropout_rate

c)

n_estimators, max_depth, min_samples_split, max_features

d)

batch_size