In:svc1.predict([X_poly[25].reshape(1,-1))
Out:array([3], dtype=int64)
In:svc1.decision_function([X_poly[25]])
Out:array([[ 0.58348329, -0.99979492, 0.08571431, -0.99996706, -0.52397444,
0.99959056]])
In:svc1.predict_proba(X_poly[25].reshape(1,-1))
Out:array([[ 0.48373954, 0.11870606, 0.00261101, 0.39494339]])
I am using rbf kernel and 'ovo' classification. I am trying to predict the class of 26th sample in the data. The SVC classifier predicted the class sample as 3. However, I am not able to comprehend how does it narrow down to class 3 when probabilities suggest the other way. Can you also please advise the interpretation of the output of decision_function method and how it is used to predict the class.