Unit 1: Foundations of Machine Learning - Practice Quiz

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

1 According to Tom Mitchell's definition of machine learning, a computer program is said to learn from experience with respect to some class of tasks and performance measure if:

A. It can generate new tasks based on performance .
B. It minimizes the complexity of the code required for .
C. Its performance at tasks in , as measured by , improves with experience .
D. It can execute tasks in without any errors.

2 Which of the following best distinguishes Machine Learning from traditional programming?

A. Traditional programming deals with numbers, while Machine Learning deals with images.
B. Machine Learning does not require a compiler.
C. Traditional programming is faster than Machine Learning.
D. Traditional programming uses data and rules to produce answers; Machine Learning uses data and answers to produce rules.

3 In the context of Supervised Learning, the dataset consists of:

A. A reward signal only.
B. Unstructured text without annotations.
C. Input vectors only.
D. Input vectors and associated target labels.

4 Which of the following is a classic example of Unsupervised Learning?

A. Spam filtering.
B. Playing Chess.
C. Customer segmentation (Clustering).
D. House price prediction.

5 In Reinforcement Learning, what does the agent maximize to learn the optimal policy?

A. The cumulative future reward.
B. The immediate reward.
C. The accuracy of prediction.
D. The number of states visited.

6 Predicting a continuous output value, such as the temperature tomorrow, is known as:

A. Regression
B. Clustering
C. Classification
D. Dimensionality Reduction

7 Predicting whether an email is 'Spam' or 'Not Spam' is an example of:

A. K-Means Clustering
B. Policy Search
C. Binary Classification
D. Regression

8 Which of the following is a major challenge in Machine Learning where the model learns the training data too well, including the noise, and performs poorly on new data?

A. Regularization
B. Underfitting
C. Overfitting
D. Convergence

9 The Curse of Dimensionality refers to:

A. The bias introduced by dimension reduction techniques.
B. The difficulty of visualizing data in 2D.
C. The computational cost of adding more rows to a dataset.
D. The exponential increase in data volume required to generalize accurately as the number of features increases.

10 In the Statistical Learning Framework, we assume the data is generated by:

A. A random number generator.
B. An unknown joint probability distribution .
C. The learning algorithm itself.
D. A deterministic linear function.

11 The function that measures the penalty for predicting when the true value is is called:

A. The Regularizer
B. The Hypothesis
C. The Loss Function
D. The Activation Function

12 What is Generalization Error (or True Risk)?

A. The expected value of the loss function over the underlying data distribution.
B. The difference between the predicted value and the average value.
C. The error on the test set.
D. The error on the training set.

13 Mathematically, Empirical Risk for a hypothesis on a dataset of size is defined as:

A.
B.
C.
D.

14 Empirical Risk Minimization (ERM) is the principle of:

A. Minimizing the computational time.
B. Minimizing the error on the test set.
C. Choosing the hypothesis that minimizes the loss on the training set.
D. Choosing the hypothesis with the simplest structure.

15 Why is minimizing Empirical Risk not always sufficient to ensure good learning?

A. It always results in underfitting.
B. It is computationally too expensive.
C. It ignores the training labels.
D. It can lead to overfitting if the hypothesis space is too complex.

16 What is Inductive Bias?

A. The bias term in the equation .
B. The tendency of a model to underfit the data.
C. The set of assumptions a learner makes to predict outputs for unseen inputs.
D. The error introduced by noise in the data.

17 Which of the following describes Occam's Razor in the context of Inductive Bias?

A. Among competing hypotheses that fit the data equally well, the simplest one should be selected.
B. We should always choose the hypothesis with the highest training error.
C. Complex models are always better.
D. Data should be sliced into smaller chunks for processing.

18 Restricting the hypothesis space to include only Linear Classifiers is an example of:

A. Preference Bias
B. Sampling Bias
C. Confirmation Bias
D. Restriction Bias (Language Bias)

19 In the context of the No Free Lunch Theorem, which statement is true?

A. Deep Learning is universally better than Decision Trees.
B. More data always guarantees a better model.
C. A single algorithm exists that is superior for all possible problems.
D. Averaged over all possible data generating distributions, every classification algorithm has the same error rate.

20 What does PAC stand for in Learning Theory?

A. Probabilistic Algorithm Complexity
B. Perfectly Accurate Classification
C. Probably Approximately Correct
D. Pattern Analysis and Computing

21 In the PAC framework, the parameter (epsilon) represents:

A. The probability of failure.
B. The number of samples.
C. The complexity of the hypothesis space.
D. The accuracy parameter (maximum allowable error).

22 In the PAC framework, the parameter (delta) represents:

A. The confidence parameter (probability that the error is high).
B. The dimensionality of the data.
C. The error rate.
D. The learning rate.

23 A concept class is PAC-learnable if there exists an algorithm that outputs a hypothesis such that with probability at least :

A.
B.
C.
D.

24 In PAC learning, Sample Complexity refers to:

A. The number of training examples required to guarantee a valid hypothesis with high probability.
B. The number of features in the dataset.
C. The time complexity of the algorithm.
D. The complexity of the loss function.

25 For a finite hypothesis space , the number of samples required for consistent PAC learning is proportional to:

A.
B.
C.
D.

26 Which of the following implies Agnostic PAC Learning?

A. The target function is assumed to be within the hypothesis space .
B. There is no noise in the data.
C. The target function may not belong to , and we seek the hypothesis with minimum risk.
D. The error must be exactly zero.

27 Which type of learning is characterized by the absence of labels but the presence of a goal to discover hidden structures?

A. Unsupervised Learning
B. Supervised Learning
C. Reinforcement Learning
D. Semisupervised Learning

28 Consider a dataset where inputs are images of animals and labels are 'Cat', 'Dog', or 'Bird'. This is a:

A. Clustering problem
B. Multi-label Classification problem
C. Regression problem
D. Multi-class Classification problem

29 Underfitting is often a result of:

A. The model being too simple to capture the underlying trend.
B. Too much training data.
C. Training for too many epochs.
D. The model being too complex.

30 Which of the following is NOT a component of the Statistical Learning Framework?

A. Loss Function
B. The exact formula of the Target Function
C. Input Space
D. Output Space

31 Which statement best describes the Bias-Variance Tradeoff?

A. Increasing model complexity decreases bias and increases variance.
B. Bias and Variance are independent of model complexity.
C. Ideally, we want high bias and high variance.
D. Increasing model complexity increases bias and decreases variance.

32 In the context of PAC learning, a hypothesis is consistent with the training data if:

A. It has the lowest generalization error.
B. It is chosen randomly.
C. It is a linear function.
D. It correctly classifies all training examples (Empirical error is 0).

33 Which of the following represents the Zero-One Loss function for binary classification ()?

A.
B.
C. if , else
D.

34 In Semi-Supervised Learning:

A. A small amount of labeled data is used with a large amount of unlabeled data.
B. No data is labeled.
C. All data is labeled.
D. The agent learns from rewards.

35 Which learning paradigm is most suitable for a robot learning to walk by trial and error?

A. Transductive Learning
B. Unsupervised Learning
C. Reinforcement Learning
D. Supervised Learning

36 What is the primary goal of the Validation Set?

A. To report the final accuracy of the model.
B. To increase the size of the training data.
C. To train the model parameters.
D. To tune hyperparameters and evaluate the model during development to prevent overfitting.

37 If a learning algorithm has high Variance, it implies:

A. The algorithm has high systematic error.
B. The algorithm pays very little attention to the training data.
C. The algorithm is very sensitive to specific sets of training data (small changes in data lead to large changes in the model).
D. The algorithm always produces the same model regardless of the data.

38 The assumption that the training data and future test data are drawn from the same distribution is called:

A. The linearity assumption.
B. The i.i.d. assumption (Independent and Identically Distributed).
C. The Bayesian assumption.
D. The Markov assumption.

39 In the definition of PAC learning, the term 'Probably' refers to:

A. The loss function.
B. The confidence .
C. The error .
D. The hypothesis space size.

40 Which of the following is a potential solution to Overfitting?

A. Making the model more complex.
B. Increasing the number of features.
C. Regularization (e.g., adding a penalty for complexity).
D. Reducing the size of the training set.

41 In Linear Regression, the inductive bias typically includes the assumption that:

A. The relationship is a high-degree polynomial.
B. The relationship between input and output is linear.
C. The data is clustered.
D. The output is a discrete class label.

42 In the equation , the term represents:

A. Training error.
B. Irreducible error.
C. Variance error.
D. Bias error.

43 Which inequality is commonly used in PAC learning derivations to bound the probability of large deviations?

A. Hoeffding's Inequality
B. Newton's Second Law
C. Pythagorean Theorem
D. Euler's Identity

44 A hypothesis space is said to be infinite if:

A. It only contains decision trees of depth 3.
B. It contains continuous parameters (e.g., all possible linear separators in ).
C. It contains a finite number of hypotheses.
D. It is empty.

45 The difference between the True Risk and the Empirical Risk is often called:

A. Generalization Gap
B. Inductive Bias
C. Bayes Error
D. Training Loss

46 Which of the following datasets would be most appropriate for a Regression problem?

A. Emails labeled as spam/ham.
B. Historical data of house sizes and their selling prices.
C. Photos labeled with names of people.
D. Handwritten digits 0-9.

47 In an Unsupervised Learning setting, Dimensionality Reduction aims to:

A. Increase the number of features to capture more detail.
B. Label the data automatically.
C. Cluster data into groups.
D. Reduce the number of random variables under consideration by obtaining a set of principal variables.

48 Why do we need a Test Set that is completely separate from the Training Set?

A. To calculate the gradient.
B. To use for hyperparameter tuning.
C. To make the training faster.
D. To provide an unbiased evaluation of the final model fit.

49 In the context of Machine Learning scope, Computer Vision typically involves:

A. Optimizing database queries.
B. Predicting stock prices.
C. Extracting information from images and videos.
D. Analyzing text sentiment.

50 The 'Realizability Assumption' in PAC learning states that:

A. The learning algorithm is efficient.
B. The data is noiseless.
C. There exists a hypothesis in the hypothesis space such that .
D. The sample size is infinite.