Class PrecisionRecallMetric

Inheritance Relationships

Base Type

Class Documentation

class PrecisionRecallMetric : public NetworKit::EvaluationMetric

Provides points that define the Precision-Recall curve for a given set of predictions. Based on the generated points the area under the curve can be calculated with the trapzoidal rule.

Public Functions

EvaluationMetric()
explicit EvaluationMetric(const Graph &testGraph)
Parameters:
  • testGraphGraph containing the links to use for evaluation

  • predictions – Dyad-score-pairs whose prediction quality will be evaluated