Bowles_3.3_rocks: Measuring the Performance of Predictive Models

Listing 3-1: Comparison of MSE, MAE and RMSE—regressionErrorMeasures.py

  • Figure 3-9: Confusion matrix example

Listing 3-2: Measuring Performance for Classifier Trained on Rocks-Versus-Mines— classifierPerformance_RocksVMines.py

  • Table 3-2: Dependence of Misclassification Error on Decision Threshold
  • Table 3-3: Cost of Mistakes for Different Decision Thresholds
  • Figure 3-10: In-sample ROC for rocks-versus-mines classifier
  • Figure 3-11: Out-of-sample ROC for rocks-versus-mines classifier