Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
Now train an SVC classifier on the training set.
Import SVC from sklearn:
from sklearn.svm import <<your code goes here >>
Create an instance of the SVC classifier named svm_clf and fit the training data:
<< your code goes here >> = SVC(gamma="auto", random_state=42)
<< your code goes here >>.fit(X_train, y_train)
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...