Registrations Closing Soon for DevOps Certification Training by CloudxLab | Registrations Closing in

  Enroll Now

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...