Scikit-Learn
67
decision_function
_shape
:
‘ovo’,
‘ovr’, default = ‘ovr’
This parameter will decide whether the algorithm will return ‘
ovr
’ (one-
vs-rest) decision function of shape as all other classifiers, or the original
ovo
(one-vs-one) decision function of libsvm.
break_ties
:
boolean,
optional,
default = false
True
: The predict will break ties according
to the confidence values of
decision_function
False
: The predict will return the first class among the tied classes.
Attributes
Followings table consist
the attributes used by
sklearn.svm.SVC
class:
Attributes
Description
support_
: array-like, shape = [n_SV]
It returns the indices of support vectors.
Dostları ilə paylaş: