Class SimpleLinkPredictionFormat<U>

java.lang.Object
es.uam.eps.ir.relison.links.linkprediction.io.TuplesLinkPredictionFormat<U>
es.uam.eps.ir.relison.links.linkprediction.io.SimpleLinkPredictionFormat<U>
Type Parameters:
U - type of the users.
All Implemented Interfaces:
LinkPredictionFormat<U>

public class SimpleLinkPredictionFormat<U>
extends TuplesLinkPredictionFormat<U>
Simple format for link prediction: tab-separated user-user-score triplets, by decreasing order of score.
  • Constructor Details

    • SimpleLinkPredictionFormat

      public SimpleLinkPredictionFormat​(org.ranksys.formats.parsing.Parser<U> uParser)
      Constructor.
      Parameters:
      uParser - a parser for reading the users.
    • SimpleLinkPredictionFormat

      public SimpleLinkPredictionFormat​(org.ranksys.formats.parsing.Parser<U> uParser, boolean sortByDecreasingScore)
      Constructor.
      Parameters:
      uParser - a parser for reading the users.
      sortByDecreasingScore - read the users in decreasing score?