public class DecisionAnalysis extends Object implements AnalysisResult
| Modifier and Type | Field and Description |
|---|---|
long |
FN
The total number of pairs in different clusters which belong to the same class
|
long |
FP
The total number of pairs in a cluster which do not belong to the same class
|
long |
TN
The total number of pairs in different clusters which belong to different classes
|
long |
TP
The 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
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. |
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()