title: getting the confusion matrix for each cross validation fold
body: <p>I'm running a pipeline with logistic regression through cross validation using scikit-learn. I'm getting the scores from each fold in the code below. How do I get the confusion matrix?</p>
  
  <pre><code>clf = make_pipeline(MinMaxScaler(), LogisticRegression())
  scores = cross_val_score(clf, X_train, y_train, cv=3)
  </code></pre>