TypeError: __init__() got an unexpected keyword argument 'decision_function_shape'
<p>I tried creating a <strong>SVM Classifier</strong>, as:</p>

<pre><code># 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
            )
</code></pre>

<p><strong>(Using Python 2.7)</strong></p>

<p>But getting this error--</p>

<blockquote>
  <p>TypeError: init() got an unexpected keyword argument
  'decision_function_shape'</p>
</blockquote>

<p>Any thoughts on that will be very useful. Cheers!</p>