Question: Question 2 ( Support Vector Machines ) : In google collab - python a ) Generate a scatter plot of the data in customers _
Question Support Vector Machines:
In google collab python
aGenerate a scatter plot of the data in customersdata.csv Color code the data points to visualize the datapoints belonging to each class.
bPreprocess the data and build an SVM classifier with very large C value. What type of margin classifier is this?
cPlot the decision boundary of the resulting SVM model and show the margins and the resulting support vectors. How many support vectors are there?
dEvaluate the classifier on the customersdatatest.csv Report the values of the appropriate evaluation metrics
eUse the customersdatafull.csv dataset to build an SVM classifier. Set the value of C to be a very large value.
fDiscuss any issues you run into when building an SVM classifier using customersdatafull.csv and a large value for C Explain what could be causing those issues.
gBuild an SVM classifier that is suitable for the data in customersdatafull.csv What type of margin classifier is this?
hChoose the value of C that results in the best performance on customersdatatest.csv
iPlot the decision boundary of the resulting SVM model and show the margins and the resulting support vectors. How many support vectors are there?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
