4. Machine Learning

Supervised Learning — Quiz

Test your understanding of supervised learning with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

In the context of a binary classification problem, if a model has a high false positive rate and a low false negative rate, which of the following metrics would be most impacted negatively?

Question 2

When using a Support Vector Machine (SVM) for classification, what is the primary role of the 'kernel trick'?

Question 3

A business is developing a regression model to predict quarterly sales. They observe that the model's predictions consistently deviate from actual sales by a fixed percentage, rather than a fixed absolute amount. Which of the following error metrics would be most appropriate to evaluate this model's performance?

Question 4

Consider a scenario where a supervised learning model is trained on a dataset with a significant class imbalance (e.g., 95% negative class, 5% positive class). If the model predicts all instances as the negative class, what would be the accuracy?

Question 5

In the context of regularization techniques for linear regression, what is the primary effect of increasing the $\lambda$ (lambda) parameter in Lasso (L1) regularization?