pygmi.clust.cluster#

The cluster module performs unsupervised classification using the scikit-learn library.

Classes#

Cluster

Cluster analysis GUI.

Module Contents#

class pygmi.clust.cluster.Cluster(parent=None)#

Bases: pygmi.misc.BasicModule

Cluster analysis GUI.

Parameters:

parent (parent, optional) – Reference to the parent routine. The default is None.

setupui()#

Set up UI.

Return type:

None.

combo()#

Set up combo box, used to choose clustering algorithm.

Return type:

None.

settings(nodialog=False)#

Entry point into item.

Parameters:

nodialog (bool, optional) – Run settings without a dialog. The default is False.

Returns:

True if successful, False otherwise.

Return type:

bool

saveproj()#

Save project data from class.

Return type:

None.

update_vars()#

Update the variables.

Return type:

None.

acceptall()#

Run the cluster analysis.

Return type:

None.