I tried creating a SVM Classifier, as:
# Create a SVM Classifier
model = SVC(C=1.0, cache_size=200, class_weight=None, coef0=0.0,
decision_function_shape=None, degree=3, gamma='auto', kernel='linear',
max_iter=-1, probability=True, random_state=None, shrinking=True,
tol=0.001, verbose=False
)
(Using Python 2.7)
But getting this error--
TypeError: init() got an unexpected keyword argument 'decision_function_shape'
Any thoughts on that will be very useful. Cheers!
None, which is the default - AndyGsklearndo you have installed? It looks like thedecision_function_shapeargument was only added in versions 0.17+. for example here's the documentation from 0.16 which lacks that argument. - Cory Kramer