title: Calculate kappa score for multi label image classifcation
body: <p>I want to calculate kappa score for a multi label image classification problem.</p>
  
  <p>I don't think sklearn supports this inherently because when i try this </p>
  
  <pre><code>import sklearn
  sklearn.metrics.cohen_kappa_score(y_test, predictions) 
  </code></pre>
  
  <p>i get </p>
  
  <pre><code>ValueError: multilabel-indicator is not supported
  </code></pre>
  
  <p>anyone has suggestions on how to do this?
  My prediction matrix is of shape(845,8) with 0 and 1 in them.
  My ground truth matrix is of shape (845,8) with 0 and 1 in them </p>
  
  <p>My labels look like this </p>
  
  <pre><code>[0,0,1,0,1,0,1,0]
  </code></pre>
  
  <p>thanks in advance.</p>
  
  #######EDIT
  
  <p>please provide relevant code.Alteast a small snippet.</p>