- 1. A support vector machine (SVM) is a supervised machine learning algorithm that is commonly used for classification and regression tasks. The goal of SVM is to find the hyperplane that best separates the data points into different classes, with a clear margin between the classes. SVM works by mapping the input data into a high-dimensional feature space and finding the optimal hyperplane that maximizes the margin between the classes. This optimal hyperplane is found by solving an optimization problem that aims to minimize the classification error and maximize the margin. SVM is known for its ability to handle high-dimensional data and complex classification tasks. It is also effective in dealing with non-linear data by using kernel functions to map the data into a higher-dimensional space. SVM is widely used in various applications such as text classification, image recognition, and bioinformatics due to its flexibility, accuracy, and robustness.
What is a Support Vector Machine (SVM) used for?
A) Speech recognition B) Image processing C) Classification and regression D) Video editing
- 2. What is the kernel trick in SVM?
A) Adding noise to the data B) Simplifying the decision boundary C) Removing outliers D) Mapping data into higher-dimensional space
- 3. Which kernel is commonly used in SVM for non-linear classification?
A) Sigmoid kernel B) Linear kernel C) Polynomial kernel D) RBF (Radial Basis Function)
- 4. What is the role of the kernel function in SVM?
A) Calculating margin width B) Updating model weights C) Mapping input data into a higher-dimensional space D) Selecting support vectors
- 5. What is regularization parameter C in SVM?
A) Number of dimensions B) Kernel parameter C) Trade-off between margin and error D) Number of support vectors
- 6. What is the loss function used in SVM?
A) L2 regularization B) Cross-entropy loss C) Hinge loss D) Mean squared error
- 7. What is the kernel trick in SVM used for?
A) Removing noise in the data B) Preventing overfitting C) Simplifying the model complexity D) Efficiently handling non-linear separable data
- 8. Which optimization algorithm is commonly used in SVM training?
A) Newton's Method B) Adam C) Gradient Descent D) Sequential Minimal Optimization (SMO)
|