CLASS
- The type of the classes represented by the CMResult
spublic class AggregatedCMResult<CLASS> extends Object implements AnalysisResult
Modifier and Type | Class and Description |
---|---|
static class |
AggregatedCMResult.AggregateStatistics
Aggregated accuracy and error rate.
|
Modifier and Type | Field and Description |
---|---|
protected List<CMResult<CLASS>> |
matrices |
Constructor and Description |
---|
AggregatedCMResult()
Default constructor
|
AggregatedCMResult(List<CMResult<CLASS>> results)
Construct with a list of results
|
Modifier and Type | Method and Description |
---|---|
AggregatedCMResult.AggregateStatistics |
computeStatistics()
Compute the current aggregate statistics of the
accumulated results.
|
String |
getDetailReport()
Get a
String detailing the result. |
net.sf.jasperreports.engine.JasperPrint |
getDetailReport(String title,
String info)
Get a
JasperPrint detailing the result. |
String |
getSummaryReport()
Get a
String summarising the result. |
net.sf.jasperreports.engine.JasperPrint |
getSummaryReport(String title,
String info)
Get a
JasperPrint summarising the result. |
String |
toString() |
public AggregatedCMResult()
public AggregatedCMResult(List<CMResult<CLASS>> results)
results
- the resultspublic AggregatedCMResult.AggregateStatistics computeStatistics()
public net.sf.jasperreports.engine.JasperPrint getSummaryReport(String title, String info)
AnalysisResult
JasperPrint
summarising the result.getSummaryReport
in interface AnalysisResult
title
- a title to add to the reportinfo
- information to print at the beginning of the reportString
summarising the resultpublic net.sf.jasperreports.engine.JasperPrint getDetailReport(String title, String info)
AnalysisResult
JasperPrint
detailing the result.getDetailReport
in interface AnalysisResult
title
- a title to add to the reportinfo
- information to print at the beginning of the reportJasperPrint
detailing the result.public String getSummaryReport()
AnalysisResult
String
summarising the result.getSummaryReport
in interface AnalysisResult
String
summarising the resultpublic String getDetailReport()
AnalysisResult
String
detailing the result.getDetailReport
in interface AnalysisResult
String
detailing the result