1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package de.fu_berlin.ties.eval;
23
24 import org.apache.commons.math.stat.StatisticalSummary;
25
26 /***
27 * Implementations of this interface can show
28 * {@linkplain org.apache.commons.math.stat.StatisticalSummary statistical
29 * summaries} of precision, recall, and F1 metrics updated in several
30 * operations.
31 *
32 * @author Christian Siefkes
33 * @version $Revision: 1.1 $, $Date: 2004/02/19 18:15:51 $, $Author: siefkes $
34 */
35 public interface FMetricsSummary {
36
37 /***
38 * Returns a summary view on the F1 values. This is not a snapshot but
39 * will change whenever the underlying values are changed.
40 *
41 * @return a summary view on the F1 value
42 */
43 StatisticalSummary viewF1Summary();
44
45 /***
46 * Returns a summary view on the precision values. This is not a snapshot
47 * but will change whenever the underlying values are changed.
48 *
49 * @return a summary view on the precision value
50 */
51 StatisticalSummary viewPrecisionSummary();
52
53 /***
54 * Returns a summary view on the recall values. This is not a snapshot but
55 * will change whenever the underlying values are changed.
56 *
57 * @return a summary view on the recall value
58 */
59 StatisticalSummary viewRecallSummary();
60
61 }