Class ROCMetric

Inheritance Relationships

Base Type

Class Documentation

class ROCMetric : public NetworKit::EvaluationMetric

Provides points that define the Receiver Operating Characteristic 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

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

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