23 questions pulled from past papers whose wording matches this week's topics, newest first, duplicates removed. Pick your answers, then press Check answers. Figures and answer keys are the originals.
Which of the following statements correctly distinguishes the hard-margin SVM from the soft-margin SVM?
The hard-margin SVM has a feasible solution only when the training data is linearly separable, whereas the soft-margin SVM always has a feasible solution.
The hard-margin SVM allows some training points to violate the margin, whereas the soft-margin SVM forbids all margin violations.
Increasing the regularisation parameter in the soft-margin SVM makes it behave less like the hard-margin SVM.
Unlike the hard-margin SVM, the soft-margin SVM can only be used with non- linear kernels.
Consider a binary classification problem in with positive examples and negative examples . Apply the feature map and a linear model . Which of the following weight vectors gives a maximum-margin decision surface separating the two classes?
Consider binary classification on input features . Define the decision boundary of a trained classifier as the set of points at which its predicted label changes. For which of the following method(s) can this decision boundary be non-linear in ?
Perceptron.
Logistic regression, predicting the positive class when .
-nearest-neighbour with Euclidean distance.
A decision tree using axis-aligned splits.
Gaussian Naïve Bayes in which the class-conditional feature variances differ between the two classes.
A support vector machine with a linear kernel.
A support vector machine with an RBF (Gaussian) kernel.
Consider a dataset for a binary classification problem with features in as shown in the figure. The red points belong to class while the green points belong to class . Which of the following classifiers is the most appropriate choice?
Let the linear regression model's solution be written as , where . Let be a valid kernel function. What will be the prediction for an unseen data point ?
For the polynomial kernel the explicit feature map for the vector is 10-dimensional. Which of the following options is the correct transformed feature vector ?
Which of the following statements correctly differentiates PCA and Kernel PCA?
PCA maximizes variance in the original feature space, while Kernel PCAmaximizes variance in a higher-dimensional transformed space.
PCA finds principal components using linear transformations in the originalspace, while Kernel PCA uses non-linear transformations to find principal components in a higher-dimensional space.
Kernel PCA can capture non-linear patterns in data, making it useful when PCAfails to represent complex structures in a linear space.
PCA and Kernel PCA always yield identical results regardless of the datasetstructure.
Kernel PCA with a polynomial kernel of degree 3 is run on a dataset of 100 data-points. Let ϕ be the transformation corresponding to this kernel. If the largest eigenvalue of the centered kernel matrix is 10, find the largest eigenvalue of the covariance matrix of the transformed dataset, where ϕ is used to effect the transformation.
Consider a dataset consisting of 1000 samples in a 20-dimensional space. You apply Kernel PCA with a polynomial kernel of degree 3 to reduce the dimensionality of the data. Which of the following statements regarding Kernel PCA is true?
Kernel PCA always results in a lower-dimensional representation of the datacompared to standard PCA.
Kernel PCA can only be applied to datasets that are linearly separable.
Choosing a higher degree polynomial kernel in Kernel PCA can lead toincreased flexibility in capturing non-linear relationships.