public class DecisionAnalysis extends Object implements AnalysisResult
| Modifier and Type | Field and Description | 
|---|---|
| long | FNThe total number of pairs in different clusters which belong to the same class | 
| long | FPThe total number of pairs in a cluster which do not belong to the same class | 
| long | TNThe total number of pairs in different clusters which belong to different classes | 
| long | TPThe total number of pairs in a cluster which belong to the same class | 
| Constructor and Description | 
|---|
| DecisionAnalysis() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDetailReport()Get a  Stringdetailing the result. | 
| net.sf.jasperreports.engine.JasperPrint | getDetailReport(String title,
               String info)Get a  JasperPrintdetailing the result. | 
| String | getSummaryReport()Get a  Stringsummarising the result. | 
| net.sf.jasperreports.engine.JasperPrint | getSummaryReport(String title,
                String info)Get a  JasperPrintsummarising the result. | 
| double | precision() | 
| double | recall() | 
| String | toString() | 
public long TP
public long FP
public long TN
public long FN
public DecisionAnalysis()
public net.sf.jasperreports.engine.JasperPrint getSummaryReport(String title, String info) throws net.sf.jasperreports.engine.JRException
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 resultnet.sf.jasperreports.engine.JRExceptionpublic net.sf.jasperreports.engine.JasperPrint getDetailReport(String title, String info) throws net.sf.jasperreports.engine.JRException
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.net.sf.jasperreports.engine.JRExceptionpublic 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 resultpublic double precision()
public double recall()