Q. How does SVM handle outliers in the training data?
-
A.
By ignoring them completely
-
B.
By assigning them a higher weight
-
C.
By using a soft margin approach
-
D.
By clustering them separately
Solution
SVM can handle outliers using a soft margin approach, which allows some misclassifications to achieve a better overall model.
Correct Answer:
C
— By using a soft margin approach
Learn More →
Q. In the context of SVM, what does the term 'margin' refer to?
-
A.
The distance between the closest data points of different classes
-
B.
The area where no data points exist
-
C.
The total number of support vectors
-
D.
The error rate of the model
Solution
The margin refers to the distance between the closest data points of different classes, which SVM aims to maximize.
Correct Answer:
A
— The distance between the closest data points of different classes
Learn More →
Q. In which real-world application is SVM particularly effective?
-
A.
Image recognition
-
B.
Time series forecasting
-
C.
Natural language processing
-
D.
Reinforcement learning
Solution
SVM is particularly effective in image recognition tasks due to its ability to handle high-dimensional data and create complex decision boundaries.
Correct Answer:
A
— Image recognition
Learn More →
Q. What is the effect of increasing the regularization parameter (C) in SVM?
-
A.
Increases the margin width
-
B.
Decreases the margin width
-
C.
Increases the number of support vectors
-
D.
Decreases the number of support vectors
Solution
Increasing the regularization parameter (C) decreases the margin width, allowing the model to fit the training data more closely.
Correct Answer:
B
— Decreases the margin width
Learn More →
Q. What is the primary advantage of using SVM for classification tasks?
-
A.
It is computationally inexpensive
-
B.
It can handle high-dimensional spaces effectively
-
C.
It requires less training data
-
D.
It is always interpretable
Solution
SVM can handle high-dimensional spaces effectively, making it suitable for complex classification tasks.
Correct Answer:
B
— It can handle high-dimensional spaces effectively
Learn More →
Q. What is the purpose of the 'gamma' parameter in the RBF kernel of SVM?
-
A.
To control the width of the margin
-
B.
To define the influence of a single training example
-
C.
To adjust the number of support vectors
-
D.
To increase the dimensionality of the data
Solution
The 'gamma' parameter in the RBF kernel controls the influence of a single training example, affecting the decision boundary's shape.
Correct Answer:
B
— To define the influence of a single training example
Learn More →
Q. What is the role of the hyperplane in SVM?
-
A.
To cluster the data points
-
B.
To separate different classes
-
C.
To reduce dimensionality
-
D.
To calculate the loss function
Solution
The hyperplane in SVM serves to separate different classes in the feature space.
Correct Answer:
B
— To separate different classes
Learn More →
Q. Which evaluation metric is most appropriate for assessing the performance of an SVM model on an imbalanced dataset?
-
A.
Accuracy
-
B.
Precision
-
C.
Recall
-
D.
F1 Score
Solution
The F1 Score is a better evaluation metric for imbalanced datasets as it considers both precision and recall.
Correct Answer:
D
— F1 Score
Learn More →
Q. Which evaluation metric is most appropriate for assessing the performance of an SVM model on imbalanced datasets?
-
A.
Accuracy
-
B.
Precision
-
C.
Recall
-
D.
F1 Score
Solution
The F1 Score is a better evaluation metric for imbalanced datasets as it considers both precision and recall, providing a balance between the two.
Correct Answer:
D
— F1 Score
Learn More →
Q. Which of the following is a disadvantage of using SVM?
-
A.
It can handle large datasets efficiently
-
B.
It is sensitive to the choice of kernel
-
C.
It provides probabilistic outputs
-
D.
It is easy to interpret
Solution
SVM is sensitive to the choice of kernel, which can significantly affect its performance and requires careful tuning.
Correct Answer:
B
— It is sensitive to the choice of kernel
Learn More →
Showing 1 to 10 of 10 (1 Pages)