title: model.predict_classes is deprecated - What to use instead?
body: <p>I have been trying to revisit my python code for prediction on neural network and i realized after running the code that <code>model.predict_classes</code> is deprecated since 1st Jan 2021.</p>
  <p>Kindly can you support me to know what i can use instead for my code ?</p>
  <p>The code line is:</p>
  <pre><code>y_pred_nn = model.predict_classes(X_test)
  </code></pre>
  <p>The issue:</p>
  <pre><code>NameError
  Traceback (most recent call last)
  &lt;ipython-input-11-fc1ddbecb622&gt; in &lt;module&gt;
  ----&gt; 1 print(y_pred_nn)
  
  NameError: name 'y_pred_nn' is not defined
  </code></pre>