The current R^2 coefficient of determination method in eval_metrics produces confusing and unpredictable results. This PR simplifies this by simply squaring the linear regression correlation co-efficient, as recommended by the stats.linregress function:
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html
Proposed changes
The current R^2 coefficient of determination method in![image](https://github.com/GeoscienceAustralia/dea-notebooks/assets/17680388/a649247a-12b1-4a5e-b93f-e025602fc4e2)
eval_metrics
produces confusing and unpredictable results. This PR simplifies this by simply squaring the linear regression correlation co-efficient, as recommended by thestats.linregress
function: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html