• Home
  • About
    • Rohit Patil photo

      Rohit Patil

      Software Developer and Deep Learning Practitioner .

    • Learn More
    • Email
    • Twitter
    • Facebook
    • LinkedIn
    • Github
  • Posts
    • All Posts
    • All Tags
  • Projects

Accuracy Metrics for Performance Evaluation of Machine Learning Models.

05 Feb 2020

Reading time ~1 minute

When is your prediction function good?

  1. Compare to previous models, if they exist.
  2. Is it good enough for business purposes?
  3. But also helpful to have simple baseline models for comparison.
    1. To make sure you are doing significantly better than trivial models.
    2. 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.
Confusion matrix for binary classification.
  • Accuracyis the fraction of correct predictions.

  • Error rate is the fraction of incorrect predictions.

  • Let’s denote the positive class by + and negative by -.


Machine Learning Share Tweet +1