Session Ready
Exercise

Training and evaluating the model

So far, you've defined your feature columns, chosen your model, and created an input function. Great work!

Now it's time to train and evaluate the model. Remember, to evaluate your model, simply run the name of your evaluation and several metrics, including average_loss, loss, and prediction/mean. What can these tell you about the effectiveness of your model?

Instructions
100 XP
  • Train your model using your selected model, grademodel, and the training dataset supplied for you, named train.
  • Evaluate your model using the testing dataset, test.
  • Print the results of the evaluation.