title: Saving confusion matrix
body: <p>Is there any possibility to save the confusion matrix which is generated by <code>sklearn.metrics</code>? </p>
  
  <p>I would like to save multiple results of different classification algorithms in an array or maybe a pandas data frame so I can show which algorithm works best.</p>
  
  <pre><code>print('Neural net: \n',confusion_matrix(Y_test, Y_pred), sep=' ')
  </code></pre>
  
  <p>How could I save the generated confusion matrix within a loop? (I am training over a set of 200 different target variables)</p>
  
  <pre><code>array[i] = confusion_matrix(Y_test,Y_pred) 
  </code></pre>
  
  <p>I run into some definition problems here [array is not defined whereas in the non [i] - version it runs smoothly]</p>
  
  <p>Additionally, I am normalizing the confusion matrix. How could I print out the average result of the confusion matrix after the whole loop? (average of the 200 different confusion matrices)</p>
  
  <p>I am not that fluent with python yet.</p>