Skip to content

Commit 174c34c

Browse files
authored
Update experiments.py
1 parent 5370d95 commit 174c34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def CV_type(self):
4444
for t in range(sample_num_eval):
4545
predict_matrix = predict_tensor[test_index[0][t], test_index[1][t]]
4646
predict_score = np.mat(predict_matrix.flatten())
47-
real_matrix = association_tensor[test_index[0][t], test_index[1][t]]
47+
real_matrix = self.mir_dis_data.type_tensor[test_index[0][t], test_index[1][t]]
4848
real_score = np.mat(real_matrix.flatten())
4949
positive_num = real_score.sum()
5050
real_sum = real_sum + positive_num

0 commit comments

Comments
 (0)