mastml.metrics.
r2_score_fitted
Method that calculates the R^2 value
y_true: (numpy array), array of true y data values
y_pred: (numpy array), array of predicted y data values