Project - Predicting Titanic Passenger Survival using Machine Learning and Python

17 / 21

Titanic Machine Learning Project - Predict using Test Set

Use the model created in the previous step to make predictions on the test set:

INSTRUCTIONS

Use the model to predict the test data. First you need to pass the test data through the pipeline and store it in X_test, then predict it and store it in y_pred:

X_test = preprocess_pipeline.transform(<< your code goes here >>)
y_pred = svm_clf.predict(<< your code goes here >>)
Get Hint See Answer


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...