We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5370d95 commit 174c34cCopy full SHA for 174c34c
experiments.py
@@ -44,7 +44,7 @@ def CV_type(self):
44
for t in range(sample_num_eval):
45
predict_matrix = predict_tensor[test_index[0][t], test_index[1][t]]
46
predict_score = np.mat(predict_matrix.flatten())
47
- real_matrix = association_tensor[test_index[0][t], test_index[1][t]]
+ real_matrix = self.mir_dis_data.type_tensor[test_index[0][t], test_index[1][t]]
48
real_score = np.mat(real_matrix.flatten())
49
positive_num = real_score.sum()
50
real_sum = real_sum + positive_num
0 commit comments