Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Follow publication

Member-only story

How to Choose the Best Evaluation Metric for Regression Problems

8 min readApr 24, 2023

--

An image depicting the formulas of MAE, MSE, RMSE, R-squared, and MAPE as well as a diagram showing predicted value over actual value and the corresponding error as dotted lines between the points and the diagonal ground truth line.
Image by the Author.

Before building a regression model, it’s worth taking a moment to carefully think about how to evaluate it. A variety of factors will fall into that decision, including whether or not large errors should be punished more than small ones, or how comprehensible and intuitive the metric needs to be for stakeholders.

This article will cover the most commonly used evaluation metrics for regression problems. For each metric, we’ll go through an example use case as well, which will provide you with the information necessary to help you choose among them.

Regression

A regression problem is a supervised machine learning problem and characterized by the prediction of a continuous numerical output variable based on one or more input variables.

Imagine a regression model that aims to predict housing prices based on various features such as the number of bedrooms and bathrooms, square footage, location, and so on. Since we have various evaluation metrics at our disposal, it matters that we choose the one that aligns best…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Thomas A Dorfer
Thomas A Dorfer

Written by Thomas A Dorfer

Senior Data Scientist @ BCG. I mainly write about data science and technology.