1What is the defining characteristic of supervised learning?
supervised
Easy
A.It learns from labeled data with known outputs
B.It groups data into clusters automatically
C.It learns only from unlabeled data
D.It requires no training data at all
Correct Answer: It learns from labeled data with known outputs
Explanation:
Supervised learning uses input-output pairs, where each training example has a known label or target value.
Incorrect! Try again.
2Which of the following best describes unsupervised learning?
unsupervised
Easy
A.Mapping fixed inputs to fixed outputs
B.Learning through rewards and penalties
C.Predicting labels from labeled training data
D.Finding patterns in data without labeled outputs
Correct Answer: Finding patterns in data without labeled outputs
Explanation:
Unsupervised learning works with data that has no labels and discovers hidden structure such as clusters or groupings.
Incorrect! Try again.
3Which of the following is an example of a supervised learning task?
supervised
Easy
A.Finding natural clusters in raw data
B.Email spam classification using labeled emails
C.Grouping customers without any labels
D.Reducing the number of features in data
Correct Answer: Email spam classification using labeled emails
Explanation:
Spam classification uses emails labeled as spam or not-spam, making it a supervised task.
Incorrect! Try again.
4Clustering is most commonly associated with which type of learning?
unsupervised
Easy
A.Supervised learning
B.Unsupervised learning
C.Semi-labeled regression
D.Reinforcement learning
Correct Answer: Unsupervised learning
Explanation:
Clustering groups similar data points together without using labels, which is a core unsupervised technique.
Incorrect! Try again.
5Logistic regression is primarily used for which kind of problem?
logistic regression
Easy
A.Reducing data dimensions
B.Classification problems
C.Clustering unlabeled data
D.Predicting continuous values
Correct Answer: Classification problems
Explanation:
Despite its name, logistic regression is a classification algorithm that predicts the probability of class membership.
Incorrect! Try again.
6Which function is used by logistic regression to map values to a range between 0 and 1?
logistic regression
Easy
A.Polynomial function
B.Linear function
C.Sigmoid function
D.Step function
Correct Answer: Sigmoid function
Explanation:
The sigmoid (logistic) function squashes any real value into the range .
Incorrect! Try again.
7In supervised learning, the known correct answer for each training example is called the:
supervised
Easy
A.Cluster
B.Centroid
C.Feature map
D.Label
Correct Answer: Label
Explanation:
The label (or target) is the known output value associated with each input in supervised learning.
Incorrect! Try again.
8Which two categories are the main types of supervised learning problems?
supervised
Easy
A.Clustering and association
B.Classification and regression
C.Reward and penalty
D.Grouping and reduction
Correct Answer: Classification and regression
Explanation:
Supervised learning splits into classification (discrete outputs) and regression (continuous outputs).
Incorrect! Try again.
9Which of the following is an unsupervised learning technique?
unsupervised
Easy
A.Linear regression
B.Logistic regression
C.Decision tree classification
D.K-means clustering
Correct Answer: K-means clustering
Explanation:
K-means groups data into clusters without labels, making it an unsupervised method.
Incorrect! Try again.
10The output of logistic regression can be interpreted as a:
logistic regression
Easy
A.Continuous unbounded value
B.Distance between clusters
C.Probability of belonging to a class
D.Number of features used
Correct Answer: Probability of belonging to a class
Explanation:
Logistic regression outputs a value between 0 and 1 that represents the probability of the positive class.
Incorrect! Try again.
11A common default threshold to convert a logistic regression probability into a class label is:
logistic regression
Easy
A.0.9
B.1.0
C.0.5
D.0.0
Correct Answer: 0.5
Explanation:
By default, probabilities above are classified as the positive class and below as the negative class.
Incorrect! Try again.
12Which of the following does unsupervised learning typically NOT require?
unsupervised
Easy
A.Feature values
B.A learning algorithm
C.Labeled output data
D.Input data
Correct Answer: Labeled output data
Explanation:
Unsupervised learning operates without labeled outputs; it only needs the input data itself.
Incorrect! Try again.
13Predicting house prices from features like size and location is an example of:
supervised
Easy
A.Dimensionality reduction
B.Supervised regression
C.Association rule mining
D.Unsupervised clustering
Correct Answer: Supervised regression
Explanation:
Predicting a continuous value like price from labeled training data is a supervised regression task.
Incorrect! Try again.
14Which task is best suited for logistic regression?
logistic regression
Easy
A.Predicting the exact temperature tomorrow
B.Predicting whether a tumor is benign or malignant
C.Compressing image data for storage
D.Grouping songs into unnamed genres
Correct Answer: Predicting whether a tumor is benign or malignant
Explanation:
A binary yes/no outcome like benign vs malignant is exactly what logistic regression predicts.
Incorrect! Try again.
15Dimensionality reduction techniques such as PCA are considered:
unsupervised
Easy
A.Unsupervised learning
B.Logistic modeling
C.Reinforcement learning
D.Supervised classification
Correct Answer: Unsupervised learning
Explanation:
PCA and similar methods find structure in unlabeled data to reduce features, which is an unsupervised task.
Incorrect! Try again.
16In supervised learning, what is the model trained to predict?
supervised
Easy
A.The number of hidden groups
B.The output label from input features
C.The reward from an environment
D.The clusters of unlabeled data
Correct Answer: The output label from input features
Explanation:
A supervised model learns a mapping from input features to the known output labels.
Incorrect! Try again.
17What is the range of the sigmoid function output in logistic regression?
logistic regression
Easy
A.Between 0 and 1
B.Between -1 and 1
C.Between -infinity and infinity
D.Between 0 and infinity
Correct Answer: Between 0 and 1
Explanation:
The sigmoid function always produces values in the open interval , suitable for probabilities.
Incorrect! Try again.
18Which statement about classification is correct?
supervised
Easy
A.It only groups unlabeled points
B.It never uses labeled data
C.It predicts discrete category labels
D.It predicts continuous numeric values
Correct Answer: It predicts discrete category labels
Explanation:
Classification is a supervised task that assigns inputs to discrete categories or classes.
Incorrect! Try again.
19Which scenario is an example of unsupervised learning?
unsupervised
Easy
A.Classifying emails using labeled examples
B.Predicting exam scores from study hours
C.Detecting fraud from labeled transactions
D.Segmenting customers into groups without predefined categories
Correct Answer: Segmenting customers into groups without predefined categories
Explanation:
Grouping customers without predefined labels is a clustering task, which is unsupervised.
Incorrect! Try again.
20Logistic regression is often used for which of the following?
logistic regression
Easy
A.Binary classification
B.Reducing feature count
C.Predicting continuous prices
D.Clustering data points
Correct Answer: Binary classification
Explanation:
Logistic regression is most commonly applied to binary classification, predicting one of two possible classes.
Incorrect! Try again.
21A bank builds a model to predict a customer's exact credit score (a continuous value between 300 and 850) based on income, age, and debt. What type of supervised learning task is this?
supervised
Medium
A.Classification
B.Clustering
C.Dimensionality reduction
D.Regression
Correct Answer: Regression
Explanation:
The target (credit score) is a continuous numeric value, so this is a regression task. Classification predicts discrete categories, while clustering and dimensionality reduction are unsupervised methods.
Incorrect! Try again.
22You are given a dataset of emails, each labeled as "spam" or "not spam". You train a model to predict the label for new emails. Which characteristic makes this a supervised learning problem?
supervised
Medium
A.The data has no target variable
B.The training data includes labeled outputs for each input
C.The algorithm reduces the number of features automatically
D.The model discovers hidden groups without labels
Correct Answer: The training data includes labeled outputs for each input
Explanation:
Supervised learning requires labeled training data, where each input is paired with a known output. Here every email has a spam/not-spam label, defining a supervised classification task.
Incorrect! Try again.
23A retailer wants to group customers into segments based on purchasing behavior, but has no predefined categories. Which learning approach is most appropriate?
unsupervised
Medium
A.Unsupervised clustering
B.Supervised classification
C.Logistic regression
D.Linear regression
Correct Answer: Unsupervised clustering
Explanation:
With no predefined labels, the goal is to discover natural groupings. Clustering, an unsupervised technique, is designed exactly for this purpose.
Incorrect! Try again.
24In logistic regression for binary classification, the model outputs a probability using the sigmoid function . If , what is the predicted probability?
logistic regression
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Substituting : . This is the decision boundary point where the model is equally uncertain between classes.
Incorrect! Try again.
25A logistic regression model uses a default threshold of to assign classes. For a sample it outputs a probability of . How is this sample classified?
logistic regression
Medium
A.It is placed in a separate cluster
B.Positive class (1)
C.It is discarded as uncertain
D.Negative class (0)
Correct Answer: Positive class (1)
Explanation:
Since , the predicted probability exceeds the threshold, so the sample is assigned to the positive class (1).
Incorrect! Try again.
26Which of the following is a key difference between regression and classification in supervised learning?
In supervised learning, regression targets continuous numeric outputs while classification targets discrete class labels. Both use labeled data.
Incorrect! Try again.
27Which of the following tasks is an example of unsupervised learning?
unsupervised
Medium
A.Forecasting tomorrow's temperature from historical labels
B.Predicting house prices from labeled sales data
C.Classifying tumors as benign or malignant using labeled scans
D.Grouping news articles into topics without predefined categories
Correct Answer: Grouping news articles into topics without predefined categories
Explanation:
Unsupervised learning works without labels. Grouping articles into unknown topics is clustering, whereas the other options rely on labeled target values (supervised).
Incorrect! Try again.
28Why is linear regression generally unsuitable for a binary classification problem where logistic regression is preferred?
logistic regression
Medium
A.It requires the output to be continuous only
B.It always overfits binary data
C.It cannot handle more than one input feature
D.Its predictions are unbounded and can fall outside the probability range
Correct Answer: Its predictions are unbounded and can fall outside the probability range
Explanation:
Linear regression can output values below 0 or above 1, which are invalid as probabilities. Logistic regression applies the sigmoid to constrain outputs to .
Incorrect! Try again.
29In logistic regression, the term is called the log-odds or logit. If increases, what happens to the predicted probability?
logistic regression
Medium
A.It increases toward 1
B.It stays constant at 0.5
C.It oscillates unpredictably
D.It decreases toward 0
Correct Answer: It increases toward 1
Explanation:
The sigmoid is monotonically increasing, so as grows the output approaches 1. Larger logits mean higher predicted probability of the positive class.
Incorrect! Try again.
30A model is trained on 1000 labeled images of cats and dogs, then tested on new unlabeled images. Which phase uses the labels directly?
supervised
Medium
A.Neither phase
B.Both phases equally
C.The training phase
D.The testing phase
Correct Answer: The training phase
Explanation:
Labels are used during training to learn the mapping from inputs to outputs. At test time the model predicts labels for new, unlabeled inputs.
Incorrect! Try again.
31A data scientist reduces a dataset from 50 features to 2 features to visualize it, without using any target variable. This is an example of which unsupervised task?
unsupervised
Medium
A.Supervised feature selection
B.Regression
C.Dimensionality reduction
D.Binary classification
Correct Answer: Dimensionality reduction
Explanation:
Reducing the number of features while preserving structure, without labels, is dimensionality reduction (e.g., PCA), a core unsupervised technique.
Incorrect! Try again.
32Logistic regression is typically trained by minimizing which loss function?
logistic regression
Medium
A.Mean squared error
B.Hinge loss
C.Absolute error
D.Binary cross-entropy (log loss)
Correct Answer: Binary cross-entropy (log loss)
Explanation:
Logistic regression uses binary cross-entropy (log loss), which penalizes confident wrong predictions heavily and matches the probabilistic sigmoid output.
Incorrect! Try again.
33A logistic regression coefficient for feature is . What does a positive coefficient indicate?
logistic regression
Medium
A.Increasing raises the probability of the positive class
B.The feature is perfectly correlated with the output
C.The feature has no effect on the prediction
D.Increasing lowers the probability of the positive class
Correct Answer: Increasing raises the probability of the positive class
Explanation:
A positive coefficient increases the logit as grows, which raises the sigmoid output and thus the probability of the positive class.
Incorrect! Try again.
34Which pair of algorithm and problem type is correctly matched in supervised learning?
Logistic regression is a supervised classification algorithm. K-means is unsupervised clustering, and linear regression is supervised regression (not clustering).
Incorrect! Try again.
35What is a common challenge when evaluating unsupervised clustering results compared to supervised models?
unsupervised
Medium
A.It is impossible to visualize the clusters
B.The models always require more data
C.There are no ground-truth labels to directly measure accuracy
D.Clustering cannot be applied to numeric data
Correct Answer: There are no ground-truth labels to directly measure accuracy
Explanation:
Because unsupervised methods lack labels, standard accuracy cannot be computed. Evaluation relies on internal metrics like silhouette score or domain judgment.
Incorrect! Try again.
36If a logistic regression model predicts probability for the positive class, what is the odds ratio for that prediction?
logistic regression
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Odds . This means the positive outcome is 4 times as likely as the negative outcome.
Incorrect! Try again.
37A model performs very well on training data but poorly on new test data. In supervised learning, this problem is known as:
supervised
Medium
A.Overfitting
B.Clustering
C.Underfitting
D.Regularization
Correct Answer: Overfitting
Explanation:
Overfitting occurs when a model memorizes training patterns (including noise) and fails to generalize to unseen data, causing poor test performance.
Incorrect! Try again.
38Which scenario best fits an unsupervised anomaly detection use case?
unsupervised
Medium
A.Predicting exam scores from labeled study hours
B.Classifying labeled emails as spam
C.Flagging unusual credit card transactions with no prior fraud labels
D.Estimating labeled house prices from area
Correct Answer: Flagging unusual credit card transactions with no prior fraud labels
Explanation:
Detecting rare, unusual patterns without labeled examples is an unsupervised anomaly detection task. The other options use labeled targets (supervised).
Incorrect! Try again.
39To extend logistic regression to a problem with three or more mutually exclusive classes, which approach is commonly used?
For multiple exclusive classes, the sigmoid is generalized to the softmax function, giving multinomial logistic regression that outputs a probability per class.
Incorrect! Try again.
40In a logistic regression model, the decision boundary separating the two classes (at threshold 0.5) corresponds to which condition on the logit ?
logistic regression
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The threshold occurs when , which happens at . Thus the decision boundary is defined by .
Incorrect! Try again.
41In logistic regression, the log-likelihood is maximized instead of minimizing squared error. Why is the mean squared error (MSE) loss avoided when the model outputs ?
logistic regression
Hard
A.MSE always produces larger gradients than cross-entropy, causing overflow
B.MSE with the sigmoid yields a non-convex loss surface, causing gradient descent to get stuck in local minima
C.MSE forces the weights to be non-negative, violating the model assumptions
D.MSE cannot be differentiated when the sigmoid is applied to the linear predictor
Correct Answer: MSE with the sigmoid yields a non-convex loss surface, causing gradient descent to get stuck in local minima
Explanation:
Combining MSE with the sigmoid produces a non-convex objective in the weights, so optimization can converge to poor local minima. Cross-entropy (log-loss) with the sigmoid is convex, guaranteeing a global optimum.
Incorrect! Try again.
42A logistic regression model gives coefficient for feature . Holding all else constant, a one-unit increase in changes the odds of the positive class by approximately what factor?
logistic regression
Hard
A.Multiplies the probability by
B.Multiplies the odds by
C.Reduces the odds by
D.Adds to the probability
Correct Answer: Multiplies the odds by
Explanation:
The odds ratio is . Coefficients act multiplicatively on the odds, not additively on the probability.
Incorrect! Try again.
43During training on perfectly linearly separable data, the unregularized logistic regression weights tend to do what?
logistic regression
Hard
A.Grow without bound as the log-loss keeps decreasing toward zero
B.Converge quickly to small finite values near zero
C.Collapse to exactly zero due to the sigmoid saturating
D.Oscillate indefinitely without any trend
Correct Answer: Grow without bound as the log-loss keeps decreasing toward zero
Explanation:
With perfect separation, pushing weights larger makes predicted probabilities approach 0/1 and the loss keeps shrinking, so the magnitudes diverge. Regularization (e.g., L2) is needed to keep them finite.
Incorrect! Try again.
44You train a model with very low training error but high validation error. Adding more training examples barely helps. What is the most likely diagnosis and fix?
supervised
Hard
A.High variance (overfitting); reduce model complexity or add regularization
B.High bias (underfitting); add more features or increase model complexity
C.Data leakage; the validation error should be lower than training error
D.Label noise only; relabel the validation set
Correct Answer: High variance (overfitting); reduce model complexity or add regularization
Explanation:
A large train-validation gap with low training error signals high variance (overfitting). More data helps only slowly; reducing complexity or adding regularization directly addresses variance.
Incorrect! Try again.
45K-means is applied to data with two clusters of very different densities and non-spherical shapes. Why does it often fail?
unsupervised
Hard
A.It assumes isotropic, equally-sized spherical clusters via Euclidean distance to centroids
B.It cannot handle more than two clusters at once
C.It requires the number of clusters to equal the number of features
D.It always converges to the global optimum, ignoring shape
Correct Answer: It assumes isotropic, equally-sized spherical clusters via Euclidean distance to centroids
Explanation:
K-means minimizes within-cluster squared Euclidean distance, implicitly assuming roughly spherical, similarly-sized clusters. Non-spherical or unequal-density clusters violate this, so points get misassigned.
Incorrect! Try again.
46In L1-regularized logistic regression, increasing the regularization strength tends to produce what effect distinct from L2?
logistic regression
Hard
A.Makes the loss non-convex and unstable
B.Increases the coefficient magnitudes to fit outliers
C.Drives some coefficients exactly to zero, performing feature selection
D.Shrinks all coefficients proportionally but never to exactly zero
Correct Answer: Drives some coefficients exactly to zero, performing feature selection
Explanation:
L1 (Lasso) penalty has a corner at zero that pushes weak coefficients to exactly zero, yielding sparse solutions. L2 shrinks coefficients smoothly but rarely to exactly zero.
Incorrect! Try again.
47For a highly imbalanced classification task (1% positives), which single metric is most misleading if used alone?
supervised
Hard
A.F1-score, since it balances precision and recall
B.Recall, since it ignores true negatives
C.Precision, since it ignores false negatives
D.Accuracy, since predicting all-negative already scores
Correct Answer: Accuracy, since predicting all-negative already scores
Explanation:
With 1% positives, a trivial all-negative classifier achieves 99% accuracy while catching zero positives. Accuracy alone hides this failure; precision, recall, and F1 expose it.
Incorrect! Try again.
48The decision boundary of standard logistic regression in feature space is what geometric object?
logistic regression
Hard
A.A piecewise-linear region defined by nearest neighbors
B.A hyperplane defined by
C.A curved surface following the sigmoid shape
D.A set of concentric spheres around the origin
Correct Answer: A hyperplane defined by
Explanation:
The predicted probability equals where , which is a linear hyperplane. The sigmoid is monotonic, so the boundary itself is linear despite the nonlinear output.
Incorrect! Try again.
49When using the elbow method to choose in K-means, why can it be unreliable?
unsupervised
Hard
A.It requires labeled data to compute the elbow
B.It always selects equal to the number of samples
C.It only works when clusters are perfectly Gaussian
D.The within-cluster sum of squares often decreases smoothly with no clear elbow
Correct Answer: The within-cluster sum of squares often decreases smoothly with no clear elbow
Explanation:
For many real datasets the WCSS curve declines gradually without a sharp bend, making the elbow ambiguous. Metrics like silhouette score or gap statistic can supplement or replace it.
Incorrect! Try again.
50A colleague standardizes features using statistics computed over the entire dataset before splitting into train and test. What is the primary problem?
supervised
Hard
A.Nothing, standardization must always use the full dataset
B.It biases the model toward the training set only
C.Data leakage: test-set information influences the scaling applied to training
D.It makes the features non-Gaussian and unusable
Correct Answer: Data leakage: test-set information influences the scaling applied to training
Explanation:
Fitting the scaler on all data lets test statistics leak into preprocessing, giving optimistic performance estimates. Scalers must be fit on training data only, then applied to the test set.
Incorrect! Try again.
51Softmax (multinomial logistic) regression with classes has a redundancy in its parameters. What is it?
logistic regression
Hard
A.Each class requires exactly one feature to be identifiable
B.Doubling all weights doubles every predicted probability
C.Adding a constant vector to all class weight vectors leaves predictions unchanged
D.The bias terms must sum to one across classes
Correct Answer: Adding a constant vector to all class weight vectors leaves predictions unchanged
Explanation:
Softmax is invariant to adding the same vector to every class's weights, so the parameterization is over-complete. Fixing one class's weights to zero (or regularizing) removes the redundancy.
Incorrect! Try again.
52PCA is applied for dimensionality reduction but the features have wildly different units and variances. What must be done first, and why?
unsupervised
Hard
A.Remove all correlated features, since PCA cannot handle correlation
B.Center features only, since PCA is scale-invariant
C.Standardize features, else high-variance features dominate the principal components
D.Convert to categorical values before applying PCA
Correct Answer: Standardize features, else high-variance features dominate the principal components
Explanation:
PCA maximizes variance, so features with large numeric scales dominate the components regardless of importance. Standardizing to unit variance ensures each feature contributes fairly.
Incorrect! Try again.
53You lower the classification threshold of a logistic regression model from to . What is the expected effect on recall and precision for the positive class?
logistic regression
Hard
A.Both recall and precision increase
B.Recall decreases while precision increases
C.Neither changes, since the threshold only affects probabilities
D.Recall increases while precision typically decreases
Correct Answer: Recall increases while precision typically decreases
Explanation:
A lower threshold labels more instances positive, catching more true positives (higher recall) but also admitting more false positives (lower precision). The threshold trades one against the other.
Incorrect! Try again.
54In k-fold cross-validation, increasing toward leave-one-out (LOOCV) generally has what effect on the bias and variance of the performance estimate?
supervised
Hard
A.Lower bias but higher variance of the estimate
B.Higher bias and higher variance
C.Higher bias but lower variance
D.Lower bias and lower variance
Correct Answer: Lower bias but higher variance of the estimate
Explanation:
Larger uses more data per training fold (lower bias), but the highly overlapping training sets make the fold estimates strongly correlated, raising the variance of the averaged estimate.
Incorrect! Try again.
55DBSCAN is often preferred over K-means when the data has what characteristic?
unsupervised
Hard
A.A known, fixed number of clusters
B.Exactly spherical, equally-sized clusters
C.Purely categorical, non-metric features
D.Arbitrary-shaped clusters and noise/outliers to be flagged
Correct Answer: Arbitrary-shaped clusters and noise/outliers to be flagged
Explanation:
DBSCAN groups points by density reachability, so it finds arbitrary shapes and labels sparse points as noise. K-means forces spherical partitions and assigns every point to a cluster.
Incorrect! Try again.
56The gradient of the logistic regression log-loss with respect to weights for one example is . What practical consequence follows when the model is very confident and wrong?
logistic regression
Hard
A.The gradient becomes undefined due to division by zero
B.The error term approaches its maximum, producing a large update
C.The update flips the sign of every feature permanently
D.The gradient vanishes, so no learning occurs
Correct Answer: The error term approaches its maximum, producing a large update
Explanation:
A confident wrong prediction makes near when (or vice versa), so the residual approaches , its largest magnitude, driving a strong corrective gradient. Confident-correct cases give near-zero gradients.
Incorrect! Try again.
57Two models have identical accuracy but different ROC-AUC values. What does the higher-AUC model do better?
supervised
Hard
A.Uses fewer features to reach the same accuracy
B.Achieves higher accuracy at the default threshold only
C.Produces perfectly calibrated probabilities
D.Ranks positive instances above negatives more consistently across all thresholds
Correct Answer: Ranks positive instances above negatives more consistently across all thresholds
Explanation:
AUC measures the probability that a random positive is scored higher than a random negative, i.e. ranking quality across thresholds. Accuracy is threshold-specific, so equal accuracy can coexist with different ranking ability.
Incorrect! Try again.
58A silhouette score close to for most points indicates what about the clustering?
unsupervised
Hard
A.Clustering is excellent with well-separated, dense clusters
B.Points lie near the boundary between two clusters, so cluster separation is weak
C.The number of clusters equals the number of samples
D.The data has no features with variance
Correct Answer: Points lie near the boundary between two clusters, so cluster separation is weak
Explanation:
Silhouette compares intra-cluster to nearest inter-cluster distance; values near mean a point is roughly equidistant to its own and a neighboring cluster, signaling overlapping, poorly-separated clusters.
Incorrect! Try again.
59Why is supervised learning fundamentally unable to solve a task where no labeled examples of the target exist, even with abundant data?
supervised
Hard
A.It requires the data to be perfectly balanced across classes
B.It can only operate on numeric, never categorical, targets
C.It learns a mapping from inputs to known outputs, which requires labeled targets to fit
D.It needs the features to be statistically independent
Correct Answer: It learns a mapping from inputs to known outputs, which requires labeled targets to fit
Explanation:
Supervised learning fits a function by minimizing error against known labels . Without labels there is no target to optimize toward, so an unsupervised or self-supervised approach is required.
Incorrect! Try again.
60You add a feature that is an exact linear combination of two existing features to a logistic regression model. What issue arises?
logistic regression
Hard
A.The sigmoid output exceeds for that feature
B.The log-loss becomes negative and unbounded below
C.Perfect multicollinearity makes the coefficient estimates unstable and non-unique
D.The model's predictions become perfectly accurate
Correct Answer: Perfect multicollinearity makes the coefficient estimates unstable and non-unique
Explanation:
A redundant linear combination creates perfect multicollinearity, so infinitely many weight combinations give the same fit and individual coefficients become unidentifiable. Regularization or dropping the redundant feature resolves it.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. 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.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →