Results from comparing models with the housing dataset
To finish comparing the models, let’s look at the results of testing the different models by putting them into a table. The following table (Table 5.3) summarizes the results from the comparisons and looks at training time, prediction time, and the RMSE and R2 fit parameters:
Training |
Prediction |
|||||
Model |
CPU Time (ms) |
Wall Time (ms) |
CPU Time (ms) |
Wall Time (ms) |
RMSE |
R2 |
Linear Regression |
31.2 |
2,710 |
0 |
4.6 |
0.72 |
0.60 |
scikit-learn CART |
172 ... |