Bad input shape with sklearn make_scorer needs_proba=True
<p>The code below works fine with:<br>
<code>scorer = make_scorer(roc_auc_score)</code></p>

<p>but gives "ValueError: bad input shape" with:<br>
<code>scorer = make_scorer(roc_auc_score, needs_proba = True)</code></p>

<p>The code is:<br>
<code>clf = GaussianNB()
cv = ShuffleSplit(features.shape[0], n_iter = 10, test_size = 0.2, random_state = 0)
scorer = make_scorer(roc_auc_score, needs_proba = True)
score = cross_val_score(clf, features, labels, cv=cv, scoring=scorer)</code></p>

<p>How would I get around this error so the score is based on probability estimates?</p>