Make Binary Class Predictions with Keras Using predict and predict_classes

Share this video with your friends

Send Tweet

We will use the Keras model’s predict method to look at the predicted class value. Then we will use the predict_classes method to have Keras make a class prediction for us, and return only a 0 or a 1, which represents the predicted class.