Accuracy Metrics for Performance Evaluation of Machine Learning Models.
05 Feb 2020
Reading time ~1 minute
When is your prediction function good?
- Compare to previous models, if they exist.
- Is it good enough for business purposes?
- But also helpful to have simple baseline models for comparison.
- To make sure you are doing significantly better than trivial models.
- To make sure the problem you are working on even has a useful target function.
Regularized Linear Model
- Whatever facny model you are using(gradient boosting, neural network)
- always spend some time building a linear baseline model.
- Build a regularized linear model
- If your fancier model is not beating linear,
- perhaps something is wrong with your fancier model like hyperparameter settings, model architecture,etc or
- you do not have enough data to beat the simpler model.
Confusion Matrix
- A confusion matrix summarizes results for a binary classification problem.

Accuracy
is the fraction of correct predictions.
Error rate
is the fraction of incorrect predictions.
- Let’s denote the positive class by + and negative by -.
