daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2. from sklearn.metrics import r2_score
  3. from scipy import stats
  4. import statsmodels.api as sm
  5. import math
  6.  
  7. df1 = np.loadtxt('SAOBS_1981_2007_DD.csv', delimiter=',')
  8. df2 = np.loadtxt('APHRO_1981_2007_DD.csv', delimiter=',')
  9.  
  10. correlation_r2 = r2_score(df1, df2)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top