Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

Identify Classes of Flowers in Iris dataset using 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]))

No hints are availble for this assesment

Answer is not availble for this assesment

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

Loading comments...