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

  Enroll Now

Keras Project - Iris Flower Identification - View the Predictions

Finally, we will view the predictions for the first few samples.

  • Save the target names into the class_names variable

    << your code goes here >> = iris.target_names
  • Get the features for the first 5 test samples

    X_new = X_test[:<< your code goes here >>]
  • Predict the classes for the 5 samples

    y_pred = model.predict_classes(X_new)
  • Get the class names of the first 5 samples from the test variable

    y_new = y_test[:<< your code goes here >>]

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