Interface RelevancyFunction

All Superinterfaces:
NBLabeledElement
All Known Implementing Classes:
AveragePrecision, BaseRelevancyFunction, F1, Precision, Recall, ReciprocalRank

public interface RelevancyFunction extends NBLabeledElement
  • Method Details

    • apply

      double apply(int[] relevant, int[] actual)
    • getUniqueName

      String getUniqueName()
      Return a name which identifies this function in terms of its parameters. This is a temporary work-around until the graphite uniqueness semantics are removed and label set uniqueness works.
      Returns:
      A string which can be used to identify if the metric exists yet.
    • prependLabels

      void prependLabels(NBLabeledElement prepend)