Session Ready
Exercise

Fitting your model

In the last exercise, you took the Online Consumer Behavior dataset, defined your DNN model, and compiled the model using an rmsprop optimizer with a mse loss function. Your final task of the lesson is to fit the model.

Note that the training and testing datasets have already been split for you, with the training data x variables named train_x, the training y variable (Revenue) named train_y, and the testing following the same pattern named test_x and test_y.

Instructions
100 XP
  • Use the appropriate datasets in your fit() expression.
  • Assign your model a batch size of 32.