Google News
logo
Keras - Quiz(MCQ)
Which of the following is the correct syntax for making predictions with a Keras model?
A)
predict.model(X_new)
B)
model.predict(X_new)
C)
model.predict_on_data(X_new)
D)
model.make_predictions(X_new)

Correct Answer :   model.predict(X_new)


Explanation : The correct syntax for making predictions with a Keras model is “model.predict(X_new)”.

Advertisement