Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
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:
Not quite. Try another option.
Answer: Its performance at tasks in , as measured by , improves with experience .
Tom Mitchell provided a formal definition: 'A computer program is said to learn from experience with respect to some class of tasks and performance measure , if its performance at tasks in , as measured by , improves with experience .'
Question 2 of 50
Which of the following best distinguishes Machine Learning from traditional programming?
Not quite. Try another option.
Answer: Traditional programming uses data and rules to produce answers; Machine Learning uses data and answers to produce rules.
In traditional programming, you input data and rules to get answers. In machine learning (specifically supervised learning), you input data and answers (labels) to learn the rules (the model).
Question 3 of 50
In the context of Supervised Learning, the dataset consists of:
Not quite. Try another option.
Answer: Input vectors and associated target labels.
Supervised learning algorithms are trained on a labeled dataset, which means the data consists of input features () paired with the correct output or target labels ().
Question 4 of 50
Which of the following is a classic example of Unsupervised Learning?
Not quite. Try another option.
Answer: Customer segmentation (Clustering).
Clustering is an unsupervised task where the goal is to group similar data points together without pre-existing labels. Spam filtering and price prediction are supervised, and playing chess is typically reinforcement learning.
Question 5 of 50
In Reinforcement Learning, what does the agent maximize to learn the optimal policy?
Not quite. Try another option.
Answer: The cumulative future reward.
The goal of a reinforcement learning agent is to learn a policy that maximizes the expected cumulative reward (return) over time, not just the immediate reward.
Question 6 of 50
Predicting a continuous output value, such as the temperature tomorrow, is known as:
Not quite. Try another option.
Answer: Regression
Regression is a type of supervised learning where the target variable is continuous. Classification deals with discrete categories.
Question 7 of 50
Predicting whether an email is 'Spam' or 'Not Spam' is an example of:
Not quite. Try another option.
Answer: Binary Classification
This is a classification task because the output is a discrete category (class), and since there are only two classes, it is Binary Classification.
Question 8 of 50
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?
Not quite. Try another option.
Answer: Overfitting
Overfitting occurs when a model models the training data too well, capturing noise and fluctuations rather than the underlying pattern, leading to poor generalization on unseen data.
Question 9 of 50
The Curse of Dimensionality refers to:
Not quite. Try another option.
Answer: The exponential increase in data volume required to generalize accurately as the number of features increases.
As the dimensionality (number of features) of the input space increases, the volume of the space increases so fast that the available data becomes sparse, making it difficult to find statistical significance.
Question 10 of 50
In the Statistical Learning Framework, we assume the data is generated by:
Not quite. Try another option.
Answer: An unknown joint probability distribution .
The standard assumption is that there is an unknown fixed joint probability distribution from which the training and test data are drawn independently and identically distributed (i.i.d.).
Question 11 of 50
The function that measures the penalty for predicting when the true value is is called:
Not quite. Try another option.
Answer: The Loss Function
A Loss Function (or cost function) quantifies the difference between the estimated value and the true value.
Question 12 of 50
What is Generalization Error (or True Risk)?
Not quite. Try another option.
Answer: The expected value of the loss function over the underlying data distribution.
Generalization error is the expectation of the loss over the entire distribution of data, representing how well the model performs on unseen data.
Question 13 of 50
Mathematically, Empirical Risk for a hypothesis on a dataset of size is defined as:
Not quite. Try another option.
Answer:
Empirical Risk is the average loss computed over the observed training dataset, serving as a proxy for the true risk.
Question 14 of 50
Empirical Risk Minimization (ERM) is the principle of:
Not quite. Try another option.
Answer: Choosing the hypothesis that minimizes the loss on the training set.
ERM is a learning strategy that selects the hypothesis from the hypothesis space that minimizes the empirical risk (training error).
Question 15 of 50
Why is minimizing Empirical Risk not always sufficient to ensure good learning?
Not quite. Try another option.
Answer: It can lead to overfitting if the hypothesis space is too complex.
If the model is complex enough, it can memorize the training data (zero empirical risk) but fail to generalize to new data (high true risk). This is overfitting.
Question 16 of 50
What is Inductive Bias?
Not quite. Try another option.
Answer: The set of assumptions a learner makes to predict outputs for unseen inputs.
Inductive bias refers to the set of assumptions (like choosing a linear model or preferring simpler trees) that allows a learning algorithm to generalize beyond the training data.
Question 17 of 50
Which of the following describes Occam's Razor in the context of Inductive Bias?
Not quite. Try another option.
Answer: Among competing hypotheses that fit the data equally well, the simplest one should be selected.
Occam's Razor is a common inductive bias preferring simplicity. It suggests that unnecessary complexity should be avoided.
Question 18 of 50
Restricting the hypothesis space to include only Linear Classifiers is an example of:
Not quite. Try another option.
Answer: Restriction Bias (Language Bias)
Restriction bias (or language bias) strictly limits the set of hypotheses the learner can consider (e.g., only linear functions), as opposed to preference bias which prefers certain hypotheses within the set.
Question 19 of 50
In the context of the No Free Lunch Theorem, which statement is true?
Not quite. Try another option.
Answer: Averaged over all possible data generating distributions, every classification algorithm has the same error rate.
The No Free Lunch Theorem states that there is no 'universal' best learning algorithm; if an algorithm performs well on a certain class of problems, it pays for that by performing poorly on the remaining problems.
Question 20 of 50
What does PAC stand for in Learning Theory?
Not quite. Try another option.
Answer: Probably Approximately Correct
PAC stands for Probably Approximately Correct, a framework for mathematical analysis of machine learning.
Question 21 of 50
In the PAC framework, the parameter (epsilon) represents:
Not quite. Try another option.
Answer: The accuracy parameter (maximum allowable error).
represents the error bound. We want the true error of our hypothesis to be at most .
Question 22 of 50
In the PAC framework, the parameter (delta) represents:
Not quite. Try another option.
Answer: The confidence parameter (probability that the error is high).
is the probability that the algorithm produces a hypothesis with error greater than . Thus, is the confidence.
Question 23 of 50
A concept class is PAC-learnable if there exists an algorithm that outputs a hypothesis such that with probability at least :
Not quite. Try another option.
Answer:
The definition of PAC learning requires that the learner produces a hypothesis with error at most with high probability ().
Question 24 of 50
In PAC learning, Sample Complexity refers to:
Not quite. Try another option.
Answer: The number of training examples required to guarantee a valid hypothesis with high probability.
Sample complexity is the minimum number of examples needed to satisfy the PAC conditions for given and .
Question 25 of 50
For a finite hypothesis space , the number of samples required for consistent PAC learning is proportional to:
Not quite. Try another option.
Answer:
The sample complexity bound for a finite hypothesis space is generally proportional to the natural logarithm of the size of the hypothesis space, specifically .
Question 26 of 50
Which of the following implies Agnostic PAC Learning?
Not quite. Try another option.
Answer: The target function may not belong to , and we seek the hypothesis with minimum risk.
Agnostic learning relaxes the realizability assumption. We don't assume the true target function is in our set of hypotheses; we just want to find the best approximation within our set.
Question 27 of 50
Which type of learning is characterized by the absence of labels but the presence of a goal to discover hidden structures?
Not quite. Try another option.
Answer: Unsupervised Learning
Unsupervised learning deals with unlabeled data and looks for patterns, structures, or groupings.
Question 28 of 50
Consider a dataset where inputs are images of animals and labels are 'Cat', 'Dog', or 'Bird'. This is a:
Not quite. Try another option.
Answer: Multi-class Classification problem
It is classification (discrete labels) and there are more than two mutually exclusive classes, making it Multi-class.
Question 29 of 50
Underfitting is often a result of:
Not quite. Try another option.
Answer: The model being too simple to capture the underlying trend.
Underfitting happens when the model has high bias and is not complex enough to represent the underlying structure of the data (e.g., fitting a line to a curve).
Question 30 of 50
Which of the following is NOT a component of the Statistical Learning Framework?
Not quite. Try another option.
Answer: The exact formula of the Target Function
In the framework, the Target Function (or the distribution producing the labels) is unknown. We try to approximate it, but we do not start with it.
Question 31 of 50
Which statement best describes the Bias-Variance Tradeoff?
Not quite. Try another option.
Answer: Increasing model complexity decreases bias and increases variance.
Simple models have high bias (rigid assumptions) and low variance. Complex models have low bias (can fit training data well) but high variance (sensitive to noise in training data).
Question 32 of 50
In the context of PAC learning, a hypothesis is consistent with the training data if:
Not quite. Try another option.
Answer: It correctly classifies all training examples (Empirical error is 0).
Consistency in learning theory implies that the hypothesis makes no errors on the provided training set.
Question 33 of 50
Which of the following represents the Zero-One Loss function for binary classification ()?
Not quite. Try another option.
Answer: if , else
Zero-One loss simply counts an error (1) if the prediction is wrong and (0) if it is correct.
Question 34 of 50
In Semi-Supervised Learning:
Not quite. Try another option.
Answer: A small amount of labeled data is used with a large amount of unlabeled data.
Semi-supervised learning bridges supervised and unsupervised learning by using a mix of labeled and unlabeled data, typically to reduce the cost of labeling.
Question 35 of 50
Which learning paradigm is most suitable for a robot learning to walk by trial and error?
Not quite. Try another option.
Answer: Reinforcement Learning
The robot acts in an environment, receives feedback (falling or moving forward), and adjusts its policy. This is classic RL.
Question 36 of 50
What is the primary goal of the Validation Set?
Not quite. Try another option.
Answer: To tune hyperparameters and evaluate the model during development to prevent overfitting.
The validation set is used for model selection and hyperparameter tuning, acting as a check against overfitting before final testing.
Question 37 of 50
If a learning algorithm has high Variance, it implies:
Not quite. Try another option.
Answer: The algorithm is very sensitive to specific sets of training data (small changes in data lead to large changes in the model).
High variance means the model captures random noise in the training data; changing the training set slightly results in a very different model.
Question 38 of 50
The assumption that the training data and future test data are drawn from the same distribution is called:
Not quite. Try another option.
Answer: The i.i.d. assumption (Independent and Identically Distributed).
Most statistical learning theory relies on the data being independent and identically distributed (i.i.d.) from a fixed distribution.
Question 39 of 50
In the definition of PAC learning, the term 'Probably' refers to:
Not quite. Try another option.
Answer: The confidence .
In PAC, 'Probably' refers to the requirement that the algorithm succeeds with high probability (). 'Approximately' refers to the error bound .
Question 40 of 50
Which of the following is a potential solution to Overfitting?
Not quite. Try another option.
Answer: Regularization (e.g., adding a penalty for complexity).
Regularization discourages complex models (e.g., large weights), helping to prevent overfitting.
Question 41 of 50
In Linear Regression, the inductive bias typically includes the assumption that:
Not quite. Try another option.
Answer: The relationship between input and output is linear.
Linear regression assumes the target can be approximated by a weighted sum of the input features.
Question 42 of 50
In the equation , the term represents:
Not quite. Try another option.
Answer: Irreducible error.
This represents noise in the system that cannot be eliminated by any model, usually due to unobserved variables.
Question 43 of 50
Which inequality is commonly used in PAC learning derivations to bound the probability of large deviations?
Not quite. Try another option.
Answer: Hoeffding's Inequality
Hoeffding's Inequality provides an upper bound on the probability that the sum of bounded random variables deviates from its expected value, crucial for bounding empirical risk against true risk.
Question 44 of 50
A hypothesis space is said to be infinite if:
Not quite. Try another option.
Answer: It contains continuous parameters (e.g., all possible linear separators in ).
If parameters (weights) are real numbers, there are infinitely many possible combinations, making the hypothesis space infinite.
Question 45 of 50
The difference between the True Risk and the Empirical Risk is often called:
Not quite. Try another option.
Answer: Generalization Gap
The generalization gap is the difference between the error on the training set (empirical) and the error on the unseen data (true risk).
Question 46 of 50
Which of the following datasets would be most appropriate for a Regression problem?
Not quite. Try another option.
Answer: Historical data of house sizes and their selling prices.
Selling prices are continuous numerical values, making this a regression problem.
Question 47 of 50
In an Unsupervised Learning setting, Dimensionality Reduction aims to:
Not quite. Try another option.
Answer: Reduce the number of random variables under consideration by obtaining a set of principal variables.
Dimensionality reduction (e.g., PCA) projects data into a lower-dimensional space while preserving important information.
Question 48 of 50
Why do we need a Test Set that is completely separate from the Training Set?
Not quite. Try another option.
Answer: To provide an unbiased evaluation of the final model fit.
If we test on training data, we cannot detect overfitting. A separate test set simulates how the model performs on real-world, unseen data.
Question 49 of 50
In the context of Machine Learning scope, Computer Vision typically involves:
Not quite. Try another option.
Answer: Extracting information from images and videos.
Computer Vision is the field of ML dealing with visual inputs like images and videos.
Question 50 of 50
The 'Realizability Assumption' in PAC learning states that:
Not quite. Try another option.
Answer: There exists a hypothesis in the hypothesis space such that .
Realizability assumes that the true concept can be perfectly represented by some hypothesis within the class we are searching.
That's unit 1
Answer a few questions and your score shows up here.
Nearly through. Did unit 1 of INT394 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 1 of INT394 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.