Class DiscountedCumulativeGain.Detail

    • Method Detail

      • writeTo

        public void writeTo​(StreamOutput out)
                     throws java.io.IOException
        Specified by:
        writeTo in interface Writeable
        Throws:
        java.io.IOException
      • getDCG

        public double getDCG()
        Returns:
        the discounted cumulative gain
      • getIDCG

        public double getIDCG()
        Returns:
        the ideal discounted cumulative gain, can be 0 if nothing was computed, e.g. because no normalization was required
      • getNDCG

        public double getNDCG()
        Returns:
        the normalized discounted cumulative gain, can be 0 if nothing was computed, e.g. because no normalization was required
      • getUnratedDocs

        public java.lang.Object getUnratedDocs()
        Returns:
        the number of unrated documents in the search results
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object