1What is the defining characteristic of supervised learning?
supervised
Easy
A.It learns only from unlabeled data
B.It groups data into clusters automatically
C.It learns from labeled data with known outputs
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.Finding patterns in data without labeled outputs
B.Mapping fixed inputs to fixed outputs
C.Learning through rewards and penalties
D.Predicting labels from labeled training data
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.Unsupervised learning
B.Reinforcement learning
C.Semi-labeled regression
D.Supervised 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.Clustering unlabeled data
B.Reducing data dimensions
C.Predicting continuous values
D.Classification problems
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.Sigmoid function
B.Linear function
C.Step function
D.Polynomial 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.Feature map
C.Label
D.Centroid
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.Grouping and reduction
B.Clustering and association
C.Reward and penalty
D.Classification and regression
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.Logistic regression
B.Linear regression
C.K-means clustering
D.Decision tree classification
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.Number of features used
B.Continuous unbounded value
C.Probability of belonging to a class
D.Distance between clusters
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.1.0
B.0.0
C.0.9
D.0.5
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.Labeled output data
C.Input data
D.A learning algorithm
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.Supervised regression
B.Dimensionality reduction
C.Unsupervised clustering
D.Association rule mining
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 whether a tumor is benign or malignant
B.Grouping songs into unnamed genres
C.Compressing image data for storage
D.Predicting the exact temperature tomorrow
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.Supervised classification
B.Unsupervised learning
C.Reinforcement learning
D.Logistic modeling
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 clusters of unlabeled data
B.The reward from an environment
C.The output label from input features
D.The number of hidden groups
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 -1 and 1
B.Between -infinity and infinity
C.Between 0 and 1
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 predicts discrete category labels
B.It predicts continuous numeric values
C.It never uses labeled data
D.It only groups unlabeled points
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.Predicting exam scores from study hours
B.Detecting fraud from labeled transactions
C.Segmenting customers into groups without predefined categories
D.Classifying emails using labeled examples
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.Clustering data points
B.Reducing feature count
C.Binary classification
D.Predicting continuous prices
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.Regression
B.Classification
C.Clustering
D.Dimensionality reduction
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 model discovers hidden groups without labels
B.The data has no target variable
C.The algorithm reduces the number of features automatically
D.The training data includes labeled outputs for each input
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.Linear regression
B.Logistic regression
C.Supervised classification
D.Unsupervised clustering
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.Negative class (0)
D.It is discarded as uncertain
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.Grouping news articles into topics without predefined categories
B.Forecasting tomorrow's temperature from historical labels
C.Predicting house prices from labeled sales data
D.Classifying tumors as benign or malignant using labeled scans
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 always overfits binary data
B.It requires the output to be continuous only
C.Its predictions are unbounded and can fall outside the probability range
D.It cannot handle more than one input feature
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 oscillates unpredictably
B.It stays constant at 0.5
C.It decreases toward 0
D.It increases toward 1
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 testing phase
D.The training 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.Binary classification
B.Dimensionality reduction
C.Supervised feature selection
D.Regression
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.Binary cross-entropy (log loss)
B.Absolute error
C.Mean squared error
D.Hinge 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.The feature has no effect on the prediction
B.The feature is perfectly correlated with the output
C.Increasing raises the probability of the positive class
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.Clustering cannot be applied to numeric data
D.There are no ground-truth labels to directly measure accuracy
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.Regularization
B.Underfitting
C.Clustering
D.Overfitting
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.Classifying labeled emails as spam
B.Flagging unusual credit card transactions with no prior fraud labels
C.Estimating labeled house prices from area
D.Predicting exam scores from labeled study hours
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 forces the weights to be non-negative, violating the model assumptions
B.MSE with the sigmoid yields a non-convex loss surface, causing gradient descent to get stuck in local minima
C.MSE always produces larger gradients than cross-entropy, causing overflow
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.Reduces the odds by
B.Multiplies the probability by
C.Multiplies 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.Collapse to exactly zero due to the sigmoid saturating
C.Converge quickly to small finite values near zero
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 bias (underfitting); add more features or increase model complexity
B.Label noise only; relabel the validation set
C.Data leakage; the validation error should be lower than training error
D.High variance (overfitting); reduce model complexity or add regularization
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 always converges to the global optimum, ignoring shape
B.It assumes isotropic, equally-sized spherical clusters via Euclidean distance to centroids
C.It cannot handle more than two clusters at once
D.It requires the number of clusters to equal the number of features
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.Drives some coefficients exactly to zero, performing feature selection
B.Increases the coefficient magnitudes to fit outliers
C.Makes the loss non-convex and unstable
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.Recall, since it ignores true negatives
B.Accuracy, since predicting all-negative already scores
C.Precision, since it ignores false negatives
D.F1-score, since it balances precision and recall
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 curved surface following the sigmoid shape
B.A piecewise-linear region defined by nearest neighbors
C.A set of concentric spheres around the origin
D.A hyperplane defined by
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 always selects equal to the number of samples
B.The within-cluster sum of squares often decreases smoothly with no clear elbow
C.It only works when clusters are perfectly Gaussian
D.It requires labeled data to compute the 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.It makes the features non-Gaussian and unusable
B.It biases the model toward the training set only
C.Nothing, standardization must always use the full dataset
D.Data leakage: test-set information influences the scaling applied to training
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.The bias terms must sum to one across classes
D.Adding a constant vector to all class weight vectors leaves predictions unchanged
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.Recall increases while precision typically decreases
B.Both recall and precision increase
C.Neither changes, since the threshold only affects probabilities
D.Recall decreases while precision increases
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 but lower variance
C.Lower bias and lower variance
D.Higher bias and higher 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.Purely categorical, non-metric features
B.Arbitrary-shaped clusters and noise/outliers to be flagged
C.A known, fixed number of clusters
D.Exactly spherical, equally-sized clusters
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 vanishes, so no learning occurs
B.The update flips the sign of every feature permanently
C.The gradient becomes undefined due to division by zero
D.The error term approaches its maximum, producing a large update
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.Ranks positive instances above negatives more consistently across all thresholds
B.Produces perfectly calibrated probabilities
C.Achieves higher accuracy at the default threshold only
D.Uses fewer features to reach the same accuracy
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.The number of clusters equals the number of samples
B.Clustering is excellent with well-separated, dense clusters
C.Points lie near the boundary between two clusters, so cluster separation is weak
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 can only operate on numeric, never categorical, targets
B.It learns a mapping from inputs to known outputs, which requires labeled targets to fit
C.It needs the features to be statistically independent
D.It requires the data to be perfectly balanced across classes
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 model's predictions become perfectly accurate
B.The log-loss becomes negative and unbounded below
C.Perfect multicollinearity makes the coefficient estimates unstable and non-unique
D.The sigmoid output exceeds for that feature
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 →