I am getting the undefined error when plotting ROC Curve of an evaluation using the following code:
n = len(test)
num_universe = n * (n - 1) // 2
test_set = set(linkpred.evaluation.Pair(u, v) for u, v in test.edges())
evaluation = linkpred.evaluation.EvaluationSheet(cn_results, test_set, num_universe)
plt.plot(evaluation.fallout(), evaluation.recall())
plt.show()
I am getting the undefined error when plotting ROC Curve of an evaluation using the following code: