public class SimpleMEAnalysis extends Object implements AnalysisResult
SimpleMEClusterAnalyser.
Sina Samangooei (ss@ecs.soton.ac.uk)| Modifier and Type | Field and Description |
|---|---|
AdjustedRandomIndexAnalysis |
adjRandInd |
DecisionAnalysis |
decision
The
DecisionAnalysis instance |
FScoreAnalysis |
fscore |
PurityAnalysis |
purity
A measure of how pure each cluster is.
|
RandomIndexAnalysis |
randIndex |
| Constructor and Description |
|---|
SimpleMEAnalysis() |
| 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. |
public PurityAnalysis purity
P = 1/N Sigma_k max_j | w_k AND c_j |
Count the true classes of all the elements in a class, make a count of the largest group from each cluster, divide by number of elements in all clusters.
High means: most of the clusters had a high number of a single class Low means: most of the clusters had a roughly equal spread of all the classes
public DecisionAnalysis decision
DecisionAnalysis instancepublic FScoreAnalysis fscore
public RandomIndexAnalysis randIndex
public AdjustedRandomIndexAnalysis adjRandInd
public SimpleMEAnalysis()
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 resultpublic 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.JRException