title: how to use y_true/y_test and y_pred?
body: <p>in this line I used y_true and y_pred:</p>
  
  <pre><code>model.compile(optimizer="rmsprop", loss="categorical_crossentropy", metrics=[precision(y_true,y_pred),recall(y_true,y_pred),fmeasure(y_true,y_pred)])
  </code></pre>
  
  <p>but a this error happened:</p>
  
  <blockquote>
    <p>NameError: name 'y_true' is not defined</p>
  </blockquote>
  
  <p>and I imported metrics </p>
  
  <pre><code>from keras import metrics
  </code></pre>