Course lesson

Make Binary Class Predictions with Keras Using predict and predict_classes

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

Duration
1 min
Access
Pro
Transcript
Available

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.