Model evaluation

In the last section, we completed our model estimation task. Now, it is time for us to evaluate the estimated models to see whether they meet our model quality criteria so that we can either move to our next stage for the results explanation or go back to some previous stages to refine our models.

To perform our model evaluation, in this section, we will focus our effort on utilizing RMSE (Root-Mean-Square Error) and ROC (Receiver Operating Characteristic) curves to assess the quality of fit for our models. To calculate RMSEs and ROC curves, we need to use our test data rather than training data used to estimate our models.

Quick evaluations

Many packages have already included some algorithms for users to assess models quickly. For ...

Get Apache Spark Machine Learning Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.