Interface DyadRankingLossFunction

    • Method Detail

      • loss

        double loss​(IDyadRankingInstance actual,
                    IDyadRankingInstance predicted)
        Computes the loss between the actual dyad ordering and predicted dyad ordering, represented by dyad ranking instances.
        Parameters:
        actual - the correct ordering
        predicted - the predicted ordering
        Returns:
        the loss between the predicted and correct ordering, depending on the implementation