A subclass of the canvas fingerprint clusterer which is to be used
from a program with a TKInter interface. This class has methods for
creating a component which displays the clustering linkage options
|
__init__(self,
logger)
Initialize the instance of the cluster class |
|
|
QWidget
|
getTab(self,
command=None,
linkage=True,
cluster=True,
results=True,
apply=True,
msg=None)
Creates a tab that can be used in a QTabWidget for calculating
clustering. |
|
|
swidgets.SGroupBox (QGroupBox)
|
getClusterGUI(self,
command,
msg=None)
Returns a GUI Group Box which displays the Cluster Calculation button |
|
|
swidgets.SGroupBox (QGroupBox)
|
getLinkageGUI(self)
Returns a GUI component which displays the cluster linkage options |
|
|
|
getResultsGUI(self)
Returns a GUI which displays the clustering results in terms of the
strain and best number of clusters and provides access to plots for
the dendrogram and cluster statistics. |
|
|
|
setNumClusters(self,
num)
Set the number of clusters in the Apply Clustering Section |
|
|
|
getApplyGUI(self)
Return the controls used to apply the clustering to selected entries
in the project table |
|
|
|
doApplyClustering(self)
Once the clustering has been performed for the selected entries this
method will apply it |
|
|
|
updateResults(self)
Once clustering has been performed this method should be called to
update the clustering results GUI: |
|
|
|
close(self)
Perform the tasks necessary when closing the panel. |
|
|
|
showStatisticsPlot(self)
Display a plot of clustering statistics |
|
|
|
showDendrogramPlot(self)
Display the clustering dendgoram |
|
|
|
showDistanceMatrixPlot(self)
Display the distance matrix |
|
|
|
|
Inherited from cluster.CanvasFingerprintCluster :
__del__ ,
clusterDM ,
clusterFP ,
debug ,
generateDM ,
getAverageDistanceFromCentroid ,
getBestNumberOfClusters ,
getClusterContents ,
getClusterOrderMap ,
getClusterTime ,
getClusterVariance ,
getClusteringMap ,
getCurrentLinkage ,
getDendrogramData ,
getDescription ,
getDistanceMatrixFile ,
getDistanceToCentroid ,
getGroupTime ,
getIsFarthestFromCentroid ,
getIsNearestToCentroid ,
getKelleyPenaltyList ,
getMatrixTime ,
getMaxDistanceFromCentroid ,
getMergeDistanceList ,
getNumberOfClustersList ,
getRSquaredList ,
getSemiPartialRSquaredList ,
getSeparationRatioList ,
group ,
setLinkage
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|