public class PurityAnalysis extends Object implements AnalysisResult, RandomBaselineWrappable
Modifier and Type | Field and Description |
---|---|
double |
purity
the purity
|
Constructor and Description |
---|
PurityAnalysis() |
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 |
score() |
String |
toString() |
public double purity
public PurityAnalysis()
public net.sf.jasperreports.engine.JasperPrint getSummaryReport(String title, String info) throws net.sf.jasperreports.engine.JRException
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 resultnet.sf.jasperreports.engine.JRException
public net.sf.jasperreports.engine.JasperPrint getDetailReport(String title, String info) throws net.sf.jasperreports.engine.JRException
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.net.sf.jasperreports.engine.JRException
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 resultpublic double score()
score
in interface RandomBaselineWrappable
TestRandomBaselineClusterAnalyser