Supervised Learning - Classification Week 7 Challenge
Q1. Pros of Support Vector Machine:
- It works comparably well when there is an understandable margin of dissociation between classes.
- It is more productive in high-dimensional spaces.
- It is effective in instances where the number of dimensions is larger than the number of specimens.
- Regularization : SVMs can be regularized, which means that the algorithm can be modified to avoid overfitting.
Cons of Support Vector Machine:
- This algorithm is not accptable for large datasets.
- It does not execute very well when the data set has more sound. i.e, target classes are overlapping.
- In cases where the number of properties for each point outstrips the number of training data specimens, the support vector machine will underperform.
- Computationally expensive: SVMs can be computationally expensive for large datasets, as the algorithm requires solving a quadratic optimization problem.
Q2. Answer in Week_7_Challenges.py file a attached below.