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
Use the model created in the previous step to make predictions on the test set:
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 >>)
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...