FRM Part I · Quantitative Analysis

Machine-Learning Methods 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

Which of the following best captures the difference between supervised and unsupervised machine learning?

  1. Supervised learning identifies clusters, while unsupervised learning predicts labels.
  2. Supervised learning uses labeled data, while unsupervised learning does not. — Correct
  3. Unsupervised learning requires a training/validation/test split, supervised does not.
  4. Unsupervised learning always performs better out-of-sample than supervised learning.

Correct answer

Supervised learning uses labeled data, while unsupervised learning does not.

Explanation

Supervised learning requires labeled inputs (features + target), whereas unsupervised learning discovers patterns without labels.

Question 2

A dataset contains five features: X1, X2, X3, X4, X5. PCA shows that the first two components explain 96% of the variance. What is the most appropriate conclusion?

  1. All five features must be retained to avoid underfitting.
  2. The model should keep only one feature.
  3. Dimensionality can likely be reduced to two components without major information loss. — Correct
  4. The dataset is unsuitable for PCA.

Correct answer

Dimensionality can likely be reduced to two components without major information loss.

Explanation

If two components explain 96% of variance, PCA can reduce the feature space from five to two while preserving structure.

Question 3

Which statement best describes the purpose of data standardization before applying K-means clustering?

  1. It ensures that K-means identifies spherical clusters.
  2. It prevents features with large scales from dominating the distance calculations. — Correct
  3. It makes the dataset normally distributed.
  4. It ensures the silhouette coefficient equals 1.

Correct answer

It prevents features with large scales from dominating the distance calculations.

Explanation

K-means uses distance measures; without standardization, high-scale features dominate distance computations and distort clustering.

Question 4

In K-means, the inertia (within-cluster sum of squares) always decreases as K increases. What is the practical implication?

  1. K should be set equal to the number of data points.
  2. The elbow method is needed to select a reasonable K. — Correct
  3. The optimal K is always 2.
  4. Inertia cannot be used for model selection.

Correct answer

The elbow method is needed to select a reasonable K.

Explanation

Because inertia falls mechanically with higher K, the 'elbow point' helps identify when additional clusters yield diminishing improvement.

Question 5

A model has very low training error but high error on the validation set. What is the most likely issue?

  1. Underfitting
  2. Overfitting — Correct
  3. Too little variance in predictions
  4. Insufficient bias

Correct answer

Overfitting

Explanation

Overfitting occurs when a model learns noise from the training set, causing poor generalization to new data.

Question 6

A researcher splits data into 70% training, 15% validation, and 15% test. Which statement is correct?

  1. The validation set is used to compute the final out-of-sample error.
  2. The test set is used to tune hyperparameters.
  3. The validation set is used to choose among competing model specifications. — Correct
  4. The training set must contain labels, while the other sets do not.

Correct answer

The validation set is used to choose among competing model specifications.

Explanation

The validation set chooses the best model; the test set evaluates final performance.

Question 7

In reinforcement learning, what is the purpose of the exploration–exploitation tradeoff?

  1. To maximize bias while minimizing variance
  2. To ensure the algorithm occasionally tries new actions rather than always choosing the current best — Correct
  3. To ensure the model never updates Q-values
  4. To guarantee deterministic outcomes

Correct answer

To ensure the algorithm occasionally tries new actions rather than always choosing the current best

Explanation

Exploration allows the algorithm to discover better strategies; exploitation uses known good actions.

Question 8

Given the Q-learning update: Q_new = Q_old + α(R − Q_old), with Q_old = 0.5, R = 1.0, α = 0.10, compute Q_new.

  1. 0.55
  2. 0.60 — Correct
  3. 0.65
  4. 0.70

Correct answer

0.60

Explanation

Q_new = 0.5 + 0.10 × (1.0 − 0.5) = 0.5 + 0.05 = 0.55.

Question 9

Which of the following is a key preprocessing step in natural language processing (NLP)?

  1. Increasing text length through padding
  2. Tokenization and stop-word removal — Correct
  3. Converting text into polynomial features
  4. Applying PCA to words

Correct answer

Tokenization and stop-word removal

Explanation

Tokenization and stop-word removal are standard NLP preprocessing steps.

Question 10

Which scenario most clearly illustrates underfitting?

  1. A model fits the training data extremely well but performs poorly on validation data.
  2. A linear model is used for a clearly nonlinear relationship. — Correct
  3. A neural network with many layers learns noise in the training set.
  4. A model's test error is lower than its training error.

Correct answer

A linear model is used for a clearly nonlinear relationship.

Explanation

Underfitting occurs when the model is too simple to capture structural patterns, such as fitting a nonlinear relationship with a linear model.

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