print(\’Test set predictions:\\n{}\’.format(y_pred))

print('Test set predictions:\in{}'.format(y_pred))

Here is what the above code is Doing:
1. Importing the classifier from sklearn
2. Creating an instance of the classifier
3. Fitting the classifier to the training data
4. Making predictions on the test set
5. Printing the predictions