Ordinary Least Squares, P Value, Regression, Statsmodels.
model. We will use the R2 score. There are many metrics to use to evaluate the model. You find in this article, a detailed list of all these metrics, including R2 score, their mathematical formula, and how they are calculated using either hand made computation in Python or Scikit-learn library. #