output in the above outputwe can see the regression line between the data points step performance computationwe can also compute the performance of our regression model with the help of various performance metrics as followsprint("regressor model performance:"print("mean absolute error(mae="round(sm mean_absolute_error(y_testy_test_pred) )print("mean squared error(mse="round(sm mean_squared_error(y_testy_test_pred) )print("median absolute error ="round(sm median_absolute_error(y_testy_test_pred) )print("explain variance score ="round(sm explained_variance_score(y_testy_test_pred) )print(" score ="round(sm _score(y_testy_test_pred) )output regressor model performancemean absolute error(mae mean squared error(mse median absolute error explain variance score - score -