Regression is a kind of Supervised Learning, in which the output label is a continuous (numeric) value. In practical applications, we use regression analysis to predict the value of the output numeric variable, based on the value of one or more input variables. Linear Regression is one of the most…