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)
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