Project- Iris Flowers Classification using Deep Learning & Keras

15 / 17

Keras Project - Iris Flower Identification - Evaluate the Model

Now we will evaluate the model.

  • We will evaluate the model on the test set and save the output in the results variable

    results = model.<< your code goes here >>(X_test, y_test)
  • Now we will print the loss and accuracy for the test set

    print('Final test set loss: {:4f}'.format(results[0]))
    print('Final test set accuracy: {:4f}'.format(results[1]))
Get Hint See Answer

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...