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 minimum number of points required to train a model from .
B. The maximum number of points that can be shattered by .
C. The number of training errors made by the hypothesis.
D. The total number of parameters in the model.

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

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

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. Linear functions only
C. Random noise
D. Training data with zero error

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 inherent noise in the problem itself.
C. The error due to erroneous assumptions in the learning algorithm (e.g., assuming data is linear when it is quadratic).
D. The computational cost of the algorithm.

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

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

7 Which scenario best describes Overfitting?

A. Low Training Error, High Test Error
B. High Training Error, High Test Error
C. Low Training Error, Low Test Error
D. High 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 smooths the decision boundary more than L2.
B. It forces weights to be small but non-zero.
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. Test error only
B. Training error only
C. Validation error minus Training error
D. Empirical Risk + Complexity Penalty

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

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

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

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

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

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

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. Newton's Method
B. Batch Gradient Descent
C. Mini-batch Gradient Descent
D. Stochastic Gradient Descent (SGD)

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

A. It reduces the learning rate automatically.
B. It eliminates the need for a learning rate.
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 L2 norm of the weights.
B. The square root of the exponential moving average of squared gradients.
C. The sum of past gradients.
D. The number of iterations.

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

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

20 What is Hyperparameter Tuning?

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

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

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

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

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

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 zero, but it is a minimum in one direction and a maximum in another.
B. A point where the gradient is infinite.
C. The lowest point in the loss landscape.
D. The point where training starts.

25 The Empirical Risk corresponds to:

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

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 may oscillate or diverge.
B. The algorithm converges very slowly.
C. The model will overfit.
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 always zero for linear models.
B. It depends on the specific data distribution and the training sample size.
C. It is easier to calculate.
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. Polynomially with ()
C. Constantly
D. Logarithmically with

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

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

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

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

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

A. The size of the validation set.
B. The strength of the penalty on the weights.
C. The learning rate.
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: 20%, Validation error: 20%
C. Training error: 1%, Validation error: 15%
D. Training error: 0%, Validation error: 0%

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

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

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

A. Bias + Variance
B. Bias - Variance
C. Bias + Variance + Irreducible Error
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. Batch gradient descent always converges faster in terms of time.
D. SGD updates are noisier, helping to escape local minima.

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

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

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

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

40 In the momentum update rule , what does represent?

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

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

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

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

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

43 Gradient Descent with Momentum helps specifically in scenarios where:

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

44 The No Free Lunch Theorem implies that:

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

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

A. Exponential
B. Quadratic
C. Logarithmic
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. Uniform Prior
B. Bernoulli Prior
C. Gaussian (Normal) Prior
D. Laplace Prior

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

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

48 A model with Low Bias and Low Variance is:

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

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

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

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

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