Unit 6: Model Complexity and Optimization - Practice Quiz

INT394 — Machine Learning Algorithms 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 What is the VC Dimension (Vapnik-Chervonenkis dimension) of a hypothesis class ?

A. The maximum number of points that can be shattered by .
B. The total number of parameters in the model.
C. The number of training errors made by the hypothesis.
D. The minimum number of points required to train a model from .

2 If a hypothesis space has an infinite VC dimension, what does this imply about the learnability of the task?

A. The training error will always be high.
B. The task is not PAC learnable.
C. The model will always underfit.
D. The task is learnable with a small number of samples.

3 What is the VC dimension of a linear classifier (perceptron) in a -dimensional space ()?

A.
B.
C.
D. Infinite

4 Rademacher Complexity measures the ability of a hypothesis class to fit:

A. The true underlying distribution
B. Training data with zero error
C. Linear functions only
D. Random noise

5 In the Bias-Variance Decomposition, the Bias term corresponds to:

A. The error due to sensitivity to small fluctuations in the training set.
B. The error due to erroneous assumptions in the learning algorithm (e.g., assuming data is linear when it is quadratic).
C. The computational cost of the algorithm.
D. The inherent noise in the problem itself.

6 As model complexity increases, what generally happens to Bias and Variance?

A. Bias decreases, Variance decreases
B. Bias increases, Variance increases
C. Bias decreases, Variance increases
D. Bias increases, Variance decreases

7 Which scenario best describes Overfitting?

A. High Training Error, Low Test Error
B. Low Training Error, High Test Error
C. High Training Error, High Test Error
D. Low Training Error, Low Test Error

8 Which of the following is NOT a technique to prevent overfitting?

A. Cross-validation
B. Increasing the number of features significantly without increasing data
C. Early Stopping
D. Regularization (L1/L2)

9 Mathematically, L2 Regularization (Ridge Regression) adds which term to the loss function ?

A.
B.
C.
D.

10 What is the primary feature selection property of L1 Regularization (Lasso)?

A. It forces weights to be small but non-zero.
B. It smooths the decision boundary more than L2.
C. It increases the variance of the estimator.
D. It drives some weights exactly to zero, inducing sparsity.

11 Structural Risk Minimization (SRM) aims to minimize:

A. Empirical Risk + Complexity Penalty
B. Training error only
C. Test error only
D. Validation error minus Training error

12 In k-fold Cross-Validation, how many times is the model trained and tested?

A. times
B. times
C. times
D. 1 time

13 Leave-One-Out Cross-Validation (LOOCV) is a special case of k-fold cross-validation where equals:

A. (number of data points)
B. 10
C. 5
D. 1

14 In the context of Gradient Descent, what is the role of the Learning Rate ()?

A. It determines the direction of the descent.
B. It determines the step size taken in the direction of the negative gradient.
C. It determines the starting point of the parameters.
D. It determines the number of iterations.

15 The standard Gradient Descent update rule for a parameter is:

A.
B.
C.
D.

16 Which variant of Gradient Descent updates weights using only one training example at a time?

A. Mini-batch Gradient Descent
B. Batch Gradient Descent
C. Newton's Method
D. Stochastic Gradient Descent (SGD)

17 What is the primary advantage of Momentum in optimization algorithms?

A. It eliminates the need for a learning rate.
B. It reduces the learning rate automatically.
C. It helps accelerate gradients vectors in the right directions, thus leading to faster converging.
D. It guarantees finding the global minimum in non-convex functions.

18 In RMSprop, the learning rate is adapted by dividing by:

A. The square root of the exponential moving average of squared gradients.
B. The L2 norm of the weights.
C. The number of iterations.
D. The sum of past gradients.

19 For a convex loss function, Gradient Descent is guaranteed to converge to:

A. Any point on the boundary
B. A saddle point
C. The global minimum
D. A local minimum

20 What is Hyperparameter Tuning?

A. Updating weights during backpropagation.
B. Selecting the optimal values for parameters like learning rate, regularization strength, or tree depth.
C. Selecting the best features for the model.
D. Cleaning the data before training.

21 Which search strategy involves testing a fixed set of hyperparameters arranged in a lattice structure?

A. Random Search
B. Bayesian Optimization
C. Gradient Search
D. Grid Search

22 If a learning curve shows that both training and validation errors are high and close to each other, the model suffers from:

A. High Bias (Underfitting)
B. Ideally tuned parameters
C. High Variance (Overfitting)
D. Data leakage

23 What is the relationship between the number of training samples () and the generalization bound involving VC dimension ()?

A. Generalization error
B. Generalization error
C. Generalization error
D. Generalization error is independent of

24 In the context of optimization, what is a Saddle Point?

A. A point where the gradient is infinite.
B. The lowest point in the loss landscape.
C. A point where the gradient is zero, but it is a minimum in one direction and a maximum in another.
D. The point where training starts.

25 The Empirical Risk corresponds to:

A. The error on the validation set.
B. The average loss calculated over the training dataset.
C. The expected error on unseen data.
D. The maximum possible error of the classifier.

26 Which regularization technique randomly sets a fraction of input units to 0 at each update during training time?

A. Data Augmentation
B. Early Stopping
C. Dropout
D. L2 Regularization

27 What happens if the learning rate in Gradient Descent is set too high?

A. The algorithm converges very slowly.
B. The model will overfit.
C. The algorithm may oscillate or diverge.
D. The algorithm will get stuck in a local minimum.

28 Rademacher Complexity is often considered tighter (more accurate) than VC dimension bounds because:

A. It is easier to calculate.
B. It is always zero for linear models.
C. It depends on the specific data distribution and the training sample size.
D. It is independent of the data distribution.

29 The 'Shattering' coefficient (Growth function) for a hypothesis class with finite VC dimension grows:

A. Exponentially with ()
B. Logarithmically with
C. Constantly
D. Polynomially with ()

30 Which optimization algorithm combines the properties of AdaGrad and Momentum (specifically using exponentially moving averages of squared gradients)?

A. Batch Gradient Descent
B. RMSprop
C. SGD
D. Adam

31 The approximation error in the Bias-Variance decomposition is associated with:

A. Bias
B. Variance
C. Irreducible Error
D. Noise

32 In the context of Regularization, (lambda) is a hyperparameter that controls:

A. The size of the validation set.
B. The learning rate.
C. The strength of the penalty on the weights.
D. The number of epochs.

33 Why is Early Stopping considered a regularization technique?

A. It increases the training data size.
B. It removes features from the dataset.
C. It adds a penalty term to the loss function.
D. It stops training when validation error starts to increase, preventing the model from learning noise.

34 Which of the following indicates that a model has High Variance?

A. Training error: 15%, Validation error: 16%
B. Training error: 1%, Validation error: 15%
C. Training error: 0%, Validation error: 0%
D. Training error: 20%, Validation error: 20%

35 In convergence analysis, if the objective function is Lipschitz continuous gradients, it implies:

A. Gradient descent cannot be used.
B. The function is convex.
C. The function has no global minimum.
D. The rate of change of the gradient is bounded.

36 The total expected error of a learning algorithm can be decomposed into:

A. Bias + Variance
B. Bias + Variance + Irreducible Error
C. Bias - Variance
D. Training Error + Test Error

37 Which of the following is true regarding Batch Gradient Descent vs Stochastic Gradient Descent (SGD)?

A. SGD is computationally more expensive per iteration than Batch.
B. Batch gradient descent uses a subset of data.
C. SGD updates are noisier, helping to escape local minima.
D. Batch gradient descent always converges faster in terms of time.

38 When using k-fold cross-validation for hyperparameter tuning, the final model is typically trained on:

A. The test set.
B. One of the folds.
C. The validation sets only.
D. The entire training dataset using the best hyperparameters found.

39 The Occam's Razor principle in machine learning supports:

A. Choosing the most complex model that fits the data.
B. Choosing the simplest model that explains the data well.
C. Using only linear models.
D. Ignoring training errors.

40 In the momentum update rule , what does represent?

A. Momentum coefficient (decay factor)
B. Regularization parameter
C. Gradient magnitude
D. Learning rate

41 Which complexity measure is derived from the maximum correlation between the function class and a set of random signs?

A. Shattering Coefficient
B. Rademacher Complexity
C. VC Dimension
D. L2 Norm

42 If the training set size is much smaller than the VC dimension (), then:

A. Overfitting is highly likely.
B. Underfitting is highly likely.
C. Training error will be high.
D. The model will generalize well.

43 Gradient Descent with Momentum helps specifically in scenarios where:

A. The surface curves much more steeply in one dimension than in another (ravines).
B. There is no gradient.
C. The function is perfectly spherical.
D. The learning rate is zero.

44 The No Free Lunch Theorem implies that:

A. Regularization is always necessary.
B. Gradient descent is the best optimizer.
C. One algorithm is superior to all others for all problems.
D. Averaged over all possible problems, no algorithm performs better than random guessing.

45 What is the convergence rate of Gradient Descent for a strongly convex function?

A. Exponential
B. Logarithmic
C. Quadratic
D. Linear (Geometric)

46 Lasso Regression (L1) can be interpreted as a Bayesian estimate with a specific prior distribution on the weights. Which distribution?

A. Gaussian (Normal) Prior
B. Bernoulli Prior
C. Uniform Prior
D. Laplace Prior

47 Ridge Regression (L2) corresponds to a Bayesian estimate with which prior?

A. Gaussian (Normal) Prior
B. Poisson Prior
C. Laplace Prior
D. Beta Prior

48 A model with Low Bias and Low Variance is:

A. The ideal goal of machine learning.
B. Impossible to achieve.
C. An underfitted model.
D. An overfitted model.

49 In Structural Risk Minimization, the bound on True Risk is given by . As the sample size , the complexity term typically:

A. Approaches Infinity
B. Approaches 0
C. Oscillates
D. Remains constant

50 Which gradient descent variant adapts the learning rate for each parameter individually based on the history of gradients?

A. Standard Gradient Descent
B. Nesterov Momentum
C. Adagrad / RMSprop
D. Momentum