Q. In SVM, what are support vectors?
-
A.
Data points that are farthest from the decision boundary
-
B.
Data points that lie on the decision boundary
-
C.
Data points that are misclassified
-
D.
All data points in the dataset
Solution
Support vectors are the data points that lie closest to the decision boundary and are critical in defining the position of the hyperplane.
Correct Answer:
B
— Data points that lie on the decision boundary
Learn More →
Q. In which scenario would you prefer using SVM over other classification algorithms?
-
A.
When the dataset is very large
-
B.
When the data is linearly separable
-
C.
When the data has a high dimensionality
-
D.
When the data is highly imbalanced
Solution
SVM is particularly effective in high-dimensional spaces, making it suitable for datasets with many features.
Correct Answer:
C
— When the data has a high dimensionality
Learn More →
Q. What does the parameter 'C' control in SVM?
-
A.
The complexity of the model
-
B.
The margin width
-
C.
The number of support vectors
-
D.
The learning rate
Solution
'C' is a regularization parameter that controls the trade-off between maximizing the margin and minimizing classification error.
Correct Answer:
A
— The complexity of the model
Learn More →
Q. What is the effect of using a soft margin in SVM?
-
A.
It allows some misclassifications
-
B.
It increases the model complexity
-
C.
It reduces the number of support vectors
-
D.
It guarantees a perfect classification
Solution
A soft margin allows for some misclassifications, which can help in achieving better generalization on unseen data.
Correct Answer:
A
— It allows some misclassifications
Learn More →
Q. What is the main advantage of using SVM for classification tasks?
-
A.
It is computationally inexpensive
-
B.
It can handle non-linear relationships
-
C.
It requires less data for training
-
D.
It is easy to interpret
Solution
SVM can effectively handle non-linear relationships through the use of kernel functions, making it versatile for various datasets.
Correct Answer:
B
— It can handle non-linear relationships
Learn More →
Q. What is the primary purpose of a Support Vector Machine (SVM)?
-
A.
To perform regression analysis
-
B.
To classify data into different categories
-
C.
To reduce dimensionality of data
-
D.
To cluster similar data points
Solution
SVM is primarily used for classification tasks, where it separates data into different categories using hyperplanes.
Correct Answer:
B
— To classify data into different categories
Learn More →
Q. What is the role of the kernel function in SVM?
-
A.
To increase the number of features
-
B.
To transform data into a higher-dimensional space
-
C.
To reduce overfitting
-
D.
To normalize the data
Solution
The kernel function allows SVM to operate in a higher-dimensional space, enabling it to find non-linear decision boundaries.
Correct Answer:
B
— To transform data into a higher-dimensional space
Learn More →
Q. What type of learning does SVM primarily fall under?
-
A.
Supervised learning
-
B.
Unsupervised learning
-
C.
Reinforcement learning
-
D.
Semi-supervised learning
Solution
SVM is a supervised learning algorithm, as it requires labeled data for training.
Correct Answer:
A
— Supervised learning
Learn More →
Q. Which evaluation metric is commonly used to assess the performance of an SVM model?
-
A.
Mean Squared Error
-
B.
Accuracy
-
C.
Silhouette Score
-
D.
Confusion Matrix
Solution
Accuracy is a common metric used to evaluate the performance of classification models, including SVM.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is NOT a common kernel used in SVM?
-
A.
Linear kernel
-
B.
Polynomial kernel
-
C.
Radial basis function (RBF) kernel
-
D.
Logistic kernel
Solution
Logistic kernel is not a standard kernel used in SVM; common kernels include linear, polynomial, and RBF.
Correct Answer:
D
— Logistic kernel
Learn More →
Q. Which of the following statements about SVM is true?
-
A.
SVM can only be used for binary classification
-
B.
SVM is sensitive to outliers
-
C.
SVM does not require feature scaling
-
D.
SVM is a type of unsupervised learning
Solution
SVM is sensitive to outliers, as they can affect the position of the decision boundary.
Correct Answer:
B
— SVM is sensitive to outliers
Learn More →
Showing 1 to 11 of 11 (1 Pages)