CLASS - Type of classes in the confusion matrixpublic class CMResult<CLASS> extends Object implements AnalysisResult
CMAnalyser.| Constructor and Description |
|---|
CMResult(gov.sandia.cognition.learning.performance.categorization.ConfusionMatrix<CLASS> matrix)
Construct with a
ConfusionMatrix. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetailReport()
Get a
String detailing the result. |
net.sf.jasperreports.engine.JasperPrint |
getDetailReport(String title,
String info)
Get a
JasperPrint detailing the result. |
gov.sandia.cognition.learning.performance.categorization.ConfusionMatrix<CLASS> |
getMatrix()
Get the internal
ConfusionMatrix. |
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 gov.sandia.cognition.learning.performance.categorization.ConfusionMatrix<CLASS> getMatrix()
ConfusionMatrix.public net.sf.jasperreports.engine.JasperPrint getSummaryReport(String title, String info)
AnalysisResultJasperPrint summarising the result.getSummaryReport in interface AnalysisResulttitle - 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)
AnalysisResultJasperPrint detailing the result.getDetailReport in interface AnalysisResulttitle - a title to add to the reportinfo - information to print at the beginning of the reportJasperPrint detailing the result.public String getSummaryReport()
AnalysisResultString summarising the result.getSummaryReport in interface AnalysisResultString summarising the resultpublic String getDetailReport()
AnalysisResultString detailing the result.getDetailReport in interface AnalysisResultString detailing the result