Regression is a supervised machine learning method for predicting continuous values. The regression algorithm's ultimate purpose is to plot the best-fit line or curve between the data. Variance, bias, and error are the three main metrics used to evaluate the trained regression model.