I\'m trying to calculate R2 and Q2 scores for PCA, but I\'m having a hard time calculating r2_scores from scratch for mat
R2
Q2
PCA
r2_scores