public class MostSimilarGuess extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MostSimilarGuess.Observation
Represents an entry in the most similar result list with known similarity.
|
Constructor and Description |
---|
MostSimilarGuess(KnownMostSim known,
SRResultList guess) |
MostSimilarGuess(KnownMostSim known,
String str) |
Modifier and Type | Method and Description |
---|---|
KnownMostSim |
getKnown() |
int |
getLength() |
double |
getNDGC() |
List<MostSimilarGuess.Observation> |
getObservations() |
double |
getPenalizedNDGC() |
PrecisionRecallAccumulator |
getPrecisionRecall(int n,
double threshold) |
String |
toString() |
public MostSimilarGuess(KnownMostSim known, String str)
public MostSimilarGuess(KnownMostSim known, SRResultList guess)
public List<MostSimilarGuess.Observation> getObservations()
public int getLength()
public KnownMostSim getKnown()
public double getNDGC()
https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG
public double getPenalizedNDGC()
https://en.wikipedia.org/wiki/Discounted_cumulative_gain#Normalized_DCG
public PrecisionRecallAccumulator getPrecisionRecall(int n, double threshold)
Copyright © 2014. All rights reserved.