title: How to use classification report from sklearn for keras models?
body: <p>So i have written a network which consists of the followings for multi-class classification :
  -y_labels transformed with to_categorical
  -last layer uses a sigmoid function with 3 neurons as my classes
  -model compile uses  categorical_crossentropy as loss function
  So i used</p>
  
  <pre><code> model.predict_classes(x_test)
  </code></pre>
  
  <p>and then i used it as  </p>
  
  <pre><code>   classification_report(y_test,pred)
  </code></pre>
  
  <p>y_test has the  form to_categorical
  And i am getting the following error :</p>
  
  <pre><code>ValueError: Mix type of y not allowed, got types set(['binary', 'multilabel-indicator'])
  </code></pre>
  
  <p>My question is how can i transform it back in order to use it as such?</p>