https://codinground.com/calculating-r-squared-python/
How to calculate the R-squared in Python with and without sklearn