public class PrecisionRecallAccumulator extends Object
Constructor and Description |
---|
PrecisionRecallAccumulator(int n,
double threshold) |
Modifier and Type | Method and Description |
---|---|
double |
getMeanRelevance() |
int |
getN() |
double |
getPrecision() |
double |
getRecall() |
int |
getRetrievedIrrelevant() |
int |
getRetrievedRelevant() |
double |
getThreshold() |
int |
getTotalIrrelevant() |
int |
getTotalRelevant() |
void |
merge(PrecisionRecallAccumulator pr) |
void |
observe(double relevance) |
void |
observeRetrieved(double relevance) |
public PrecisionRecallAccumulator(int n, double threshold)
public void observeRetrieved(double relevance)
public void observe(double relevance)
public void merge(PrecisionRecallAccumulator pr)
public double getPrecision()
public double getRecall()
public int getN()
public double getThreshold()
public int getRetrievedRelevant()
public int getRetrievedIrrelevant()
public int getTotalRelevant()
public int getTotalIrrelevant()
public double getMeanRelevance()
Copyright © 2014. All rights reserved.