Project - Predicting Titanic Passenger Survival using Machine Learning and Python

You are currently auditing this course.
16 / 21

Titanic Machine Learning Project - Train an SVC Classifier

Now train an SVC classifier on the training set.

INSTRUCTIONS

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)
Get Hint See Answer

Loading comments...