FRM Part I · Quantitative Analysis

Machine Learning and Prediction Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A dataset of 1,000 firms is used to train a classifier to predict dividend payments. The confusion matrix results in 432 TP, 121 FP, 168 FN, and 279 TN. What is the accuracy?

  1. 55.0%
  2. 65.4%
  3. 71.1% — Correct
  4. 78.8%

Correct answer

71.1%

Explanation

Accuracy = (TP + TN) / Total = (432 + 279) / 1000 = 0.711.

Question 2

Which regularization method can shrink some coefficients exactly to zero, performing feature selection?

  1. Ridge regression
  2. Linear regression
  3. LASSO — Correct
  4. KNN

Correct answer

LASSO

Explanation

The LASSO (L1 penalty) drives some coefficients exactly to zero, removing irrelevant features.

Question 3

A decision tree splits on the feature that produces the largest drop in impurity. Which measure is commonly used for impurity?

  1. Autocorrelation
  2. Gini index — Correct
  3. Durbin-Watson statistic
  4. ADF test statistic

Correct answer

Gini index

Explanation

Decision trees often use the Gini index to evaluate impurity reduction at splits.

Question 4

A KNN model uses K = 5. Which statement best describes the bias–variance tradeoff at lower values of K?

  1. Lower bias, higher variance — Correct
  2. Lower bias, lower variance
  3. Higher bias, lower variance
  4. No change in bias or variance

Correct answer

Lower bias, higher variance

Explanation

Small K leads to flexible models with low bias and high variance.

Question 5

Support Vector Machines maximize which geometric property?

  1. Residual sum of squares
  2. Euclidean distance between clusters
  3. Margin between support vectors — Correct
  4. Number of classification labels

Correct answer

Margin between support vectors

Explanation

SVMs attempt to maximize the classification margin separating classes.

Question 6

In a bagging ensemble of 100 decision trees, what happens to model bias and variance?

  1. Bias increases, variance increases
  2. Bias increases, variance decreases — Correct
  3. Bias decreases, variance decreases
  4. Bias decreases, variance increases

Correct answer

Bias increases, variance decreases

Explanation

Bagging reduces variance by averaging unstable trees. Bias tends to remain the same or slightly increase.

Question 7

A feedforward neural network with one hidden layer uses the logistic activation function. What does the activation function introduce?

  1. Linear relationships
  2. Nonlinearity — Correct
  3. Multicollinearity
  4. Heteroskedasticity

Correct answer

Nonlinearity

Explanation

Activation functions introduce nonlinearity into neural networks, enabling complex pattern learning.

Question 8

Elastic Net regularization combines which two penalties?

  1. Ridge (L2) and LASSO (L1) — Correct
  2. Ridge (L2) and logistic loss
  3. LASSO (L1) and entropy
  4. Hinge loss and squared error

Correct answer

Ridge (L2) and LASSO (L1)

Explanation

Elastic Net uses both the L1 and L2 penalties to shrink parameters while performing feature selection.

Question 9

A logistic model produces predicted probabilities for default. Using threshold Z = 0.30, an observation has P=0.28. How is it classified?

  1. Default (1)
  2. No default (0) — Correct
  3. Unclassified
  4. Requires ROC curve evaluation

Correct answer

No default (0)

Explanation

Since P < Z, the observation is classified as no default.

Question 10

A confusion matrix shows FP = 24 and FN = 16. What is the model’s error rate if TP = 100 and TN = 60?

  1. 20% — Correct
  2. 25%
  3. 28%
  4. 32%

Correct answer

20%

Explanation

Error Rate = (FP + FN) / (TP + TN + FP + FN) = (24 + 16) / 200 = 40/200 = 20%.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz