pyclustering.cluster.bang.bang_visualizer Class Reference

Visualizer of BANG algorithm's results. More...

Static Public Member Functions

def show_blocks (directory)
 Show BANG-blocks (leafs only) in data space. More...
 
def show_dendrogram (dendrogram)
 Display dendrogram of BANG-blocks. More...
 
def show_clusters (data, clusters, noise=None)
 Display BANG clustering results. More...
 

Detailed Description

Visualizer of BANG algorithm's results.

BANG visualizer provides visualization services that are specific for BANG algorithm.

Definition at line 48 of file bang.py.

Member Function Documentation

◆ show_blocks()

def pyclustering.cluster.bang.bang_visualizer.show_blocks (   directory)
static

Show BANG-blocks (leafs only) in data space.

BANG-blocks represents grid that was used for clustering process.

Parameters
[in]directory(bang_directory): Directory that was created by BANG algorithm during clustering process.

Definition at line 59 of file bang.py.

◆ show_clusters()

def pyclustering.cluster.bang.bang_visualizer.show_clusters (   data,
  clusters,
  noise = None 
)
static

Display BANG clustering results.

Parameters
[in]data(list): Dataset that was used for clustering.
[in]clusters(array_like): Clusters that were allocated by the algorithm.
[in]noise(array_like): Noise that were allocated by the algorithm.

Definition at line 119 of file bang.py.

◆ show_dendrogram()

def pyclustering.cluster.bang.bang_visualizer.show_dendrogram (   dendrogram)
static

Display dendrogram of BANG-blocks.

Parameters
[in]dendrogram(list): List representation of dendrogram of BANG-blocks.
See also
bang.get_dendrogram()

Definition at line 89 of file bang.py.


The documentation for this class was generated from the following file: