predict(X, batch_size=128, verbose=1):
Return: An array of predictions for some test data.
Arguments: Same meaning as fit method above.
predict_classes(X, batch_size=128, verbose=1): Return an array of class predictions for some test data.
Return: An array of labels for some test data.
Arguments: Same meaning as fit method above. verbose is used as a binary flag (progress bar or nothing).
What is the difference between the previous 2 functions? Predicting classes makes sense but what about returning an array of predictions? What can you predict other than labels for supervised learning?
For those of us who are beginners, can you explain a little in more depth what you mean? Or perhaps is there a resource we can look more into?
I'm trying to take a sequence of words and then predict the next sequence of words (lets say sentence to sentence). Would I use predict_classes or predict? I've had this question for a while.
How do you select the "type" of prediction that you are looking for with predict(X,....)? I cannot see a parameter that can be passed to the function that does this.