@Test public void getPerfomanceMeasuresByCountA_for1RetrievedItem() { DocumentPerformanceResult result = new DocumentPerformanceResult("d1", list(1, 0), 1); PerformanceMeasures measuresFor1RetrievedItem = result .getPerformanceMeasures(1); System.out.println(measuresFor1RetrievedItem); assertEquals(1, measuresFor1RetrievedItem.getPrecision(), EPSILON); assertEquals(1, measuresFor1RetrievedItem.getRecall(), EPSILON); assertEquals(1, measuresFor1RetrievedItem.getFMeasure(), EPSILON); }
public PerformanceMeasures getPerformanceMeasures(double retrievedPercentage) { return getPerformanceMeasures((int) Math .floor((getRetrievedCount() * retrievedPercentage))); }
DocumentPerformanceResult implements Serializable { public PerformanceMeasures getPerformanceMeasures(double retrievedPercentage) { return getPerformanceMeasures((int) Math .floor((getRetrievedCount() * retrievedPercentage))); } }
DocumentPerformanceResult implements Serializable { public PerformanceMeasures getPerformanceMeasures(double retrievedPercentage) { return getPerformanceMeasures((int) Math .floor((getRetrievedCount() * retrievedPercentage))); } DocumentPerformanceResult(String documentTitle,
			List<Integer> truePositiveCounts, int goldCount); }
DocumentPerformanceResult implements Serializable { public PerformanceMeasures getPerformanceMeasures(double retrievedPercentage) { return getPerformanceMeasures((int) Math .floor((getRetrievedCount() * retrievedPercentage))); } DocumentPerformanceResult(String documentTitle,
			List<Integer> truePositiveCounts, int goldCount); PerformanceMeasures getPerformanceMeasures(double retrievedPercentage); PerformanceMeasures getPerformanceMeasures(int retrievedItems); int getRetrievedCount(); String getDocumentTitle(); int getGoldCount(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
DocumentPerformanceResult implements Serializable { public PerformanceMeasures getPerformanceMeasures(double retrievedPercentage) { return getPerformanceMeasures((int) Math .floor((getRetrievedCount() * retrievedPercentage))); } DocumentPerformanceResult(String documentTitle,
			List<Integer> truePositiveCounts, int goldCount); PerformanceMeasures getPerformanceMeasures(double retrievedPercentage); PerformanceMeasures getPerformanceMeasures(int retrievedItems); int getRetrievedCount(); String getDocumentTitle(); int getGoldCount(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }