Unit 1 - Practice Quiz

INT394 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 minimizes the complexity of the code required for .
B. It can execute tasks in without any errors.
C. Its performance at tasks in , as measured by , improves with experience .
D. It can generate new tasks based on performance .

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

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

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

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

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

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

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

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

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

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

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

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

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. Overfitting
B. Convergence
C. Underfitting
D. Regularization

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. A deterministic linear function.
C. An unknown joint probability distribution .
D. The learning algorithm itself.

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

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

12 What is Generalization Error (or True Risk)?

A. The error on the test set.
B. The expected value of the loss function over the underlying data distribution.
C. The difference between the predicted value and the average value.
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 error on the test set.
B. Minimizing the computational time.
C. Choosing the hypothesis with the simplest structure.
D. Choosing the hypothesis that minimizes the loss on the training set.

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

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

16 What is Inductive Bias?

A. The tendency of a model to underfit the data.
B. The bias term in the equation .
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. Data should be sliced into smaller chunks for processing.
C. We should always choose the hypothesis with the highest training error.
D. Complex models are always better.

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

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

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

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

20 What does PAC stand for in Learning Theory?

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

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

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

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

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

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. The error must be exactly zero.
C. The target function may not belong to , and we seek the hypothesis with minimum risk.
D. There is no noise in the data.

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

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

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

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

29 Underfitting is often a result of:

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

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

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

31 Which statement best describes the Bias-Variance Tradeoff?

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

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

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

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

A. if , else
B.
C.
D.

34 In Semi-Supervised Learning:

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

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

A. Transductive Learning
B. Unsupervised Learning
C. Supervised Learning
D. Reinforcement 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 is very sensitive to specific sets of training data (small changes in data lead to large changes in the model).
B. The algorithm always produces the same model regardless of the data.
C. The algorithm has high systematic error.
D. The algorithm pays very little attention to the training data.

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

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

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

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

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

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

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

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

42 In the equation , the term represents:

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

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

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

44 A hypothesis space is said to be infinite if:

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

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

A. Inductive Bias
B. Generalization Gap
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. Handwritten digits 0-9.
C. Photos labeled with names of people.
D. Historical data of house sizes and their selling prices.

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

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

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

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

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

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

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

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