Question 37
Go through the code snippet given below and answer the subquestions.
import numpy as npfrom sklearn.pipeline import make_pipelinefrom sklearn.preprocessing import StandardScalerX = np.array([[-8, -3], [3, 3], [5, 3], [-4, -3],])y = np.array([-3, 3, 3, -3])from sklearn.svm import SVCclf = SVC(gamma='auto',kernel="linear")clf.fit(X, y)print(clf.predict([[-4, -3]]))Which of the following is likely to be the correct output of the given code ?
[3]
[-1]
[1]
[-3]