Closed younng367 closed 1 day ago
can you say more details? Please
I added this codes in line 510, it work.
def pearson_mean(data1, data2): sum_pearson_1 = 0 sum_pearson2 = 0 for i in range(data1.shape[0]): pearsonr = pearsonr(data1[i], data2[i]) sum_pearson1 += pearsonr[0] sum_pearson2 += pearsonr[1] return sum_pearson_1/data1.shape[0], sum_pearson_2/data1.shape[0]
def r2_mean(data1, data2):
sum_r2_1 = 0
for i in range(data1.shape[0]):
r2score = r2_score(data1[i], data2[i])
sum_r2_1 += r2score
return sum_r2_1/data1.shape[0]
We have recently updated the GitHub repository to address some missing functions in the code. Please pull the latest version, which should resolve these issues.
guys you have to add the two function by manual .which in the data fold. r2_mean and pearson_mean