Session Ready
Exercise

Find the accuracy of your model

After defining, compiling, and fitting the model, the next step in the dataflow is to evaluate how your model performs on the test data. You can use the accuracy of the model as a basic way to see what percentage of the time the model correctly predicted whether a shopper would buy something from the website.

Instructions
100 XP
  • Evaluate the model using the testing x and y data.
  • Call up the accuracy (acc) of the model.