Assume that you build a model for predicting consumer credit…

Assume that you build a model for predicting consumer credit ratings and you evaluate it on a testing dataset of 5 records. The table below shows 5 actual credit ratings and the corresponding predictions.    Predicted Credit Rating Actual Credit Rating 730 750 630 660 600 570 800 680 640 690

You’re building a binary classifier that checks photos of in…

You’re building a binary classifier that checks photos of insect traps for whether a dangerous invasive species is present. If the model detects the species, the entomologist (insect scientist) on duty is notified. Early detection of this insect is critical to preventing an infestation. A false alarm (false positive) is easy to handle: the entomologist sees that the photo was misclassified and marks it as such. Assuming an acceptable accuracy level, which metric should this model be optimized for?