Function NetworKit::LinkThresholder::byScore

Function Documentation

std::vector<std::pair<node, node>> NetworKit::LinkThresholder::byScore(const std::vector<LinkPredictor::prediction> &predictions, double minScore)

Returns the node-pairs whose scores are at least equal to the given minScore.

Parameters:
  • predictions – Predictions to filter

  • minScore – Minimal score that the returned node-pairs should have

Returns:

a vector of node-pairs whose scores are at least equal to the given minScore