Unit 6 - Practice Quiz

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

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

A. The task is not PAC learnable.
B. The training error will always be high.
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. Infinite
C.
D.

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

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

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

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

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

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

7 Which scenario best describes Overfitting?

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

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

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

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 increases the variance of the estimator.
C. It drives some weights exactly to zero, inducing sparsity.
D. It forces weights to be small but non-zero.

11 Structural Risk Minimization (SRM) aims to minimize:

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

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

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

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

A. 1
B. 5
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 step size taken in the direction of the negative gradient.
B. It determines the number of iterations.
C. It determines the starting point of the parameters.
D. It determines the direction of the descent.

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

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. A local minimum
B. Any point on the boundary
C. A saddle point
D. The global minimum

20 What is Hyperparameter Tuning?

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

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

A. Bayesian Optimization
B. Random Search
C. Grid Search
D. Gradient 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. Data leakage
D. High Variance (Overfitting)

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 is independent of
D. Generalization error

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

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

25 The Empirical Risk corresponds to:

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

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

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

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

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

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

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

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

A. Constantly
B. Exponentially with ()
C. Polynomially with ()
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. Bias
B. Variance
C. Noise
D. Irreducible Error

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

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

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: 20%, Validation error: 20%
B. Training error: 1%, Validation error: 15%
C. Training error: 15%, Validation error: 16%
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. Training Error + Test Error
D. Bias + Variance + Irreducible Error

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

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

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

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

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

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

40 In the momentum update rule , what does represent?

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

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

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

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

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

43 Gradient Descent with Momentum helps specifically in scenarios where:

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

44 The No Free Lunch Theorem implies that:

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

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

A. Logarithmic
B. Quadratic
C. Exponential
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. Laplace Prior
B. Gaussian (Normal) Prior
C. Bernoulli Prior
D. Uniform 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 overfitted model.
B. The ideal goal of machine learning.
C. Impossible to achieve.
D. An underfitted model.

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

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

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

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