x2_test = np.array([3,3]).reshape(1,-1) clf.predict(x2_test)
array([2])
x3_test = np.array([-2,2]).reshape(1,-1) clf.predict(x3_test)
clf.intercept_
array([ 0.])
clf.coef_
array([[ 6.92266567e-15, 8.00000000e+00]])