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.
Please login to comment
0 Comments
There are 3 new comments.