pyclustering  0.10.1
pyclustring is a Python, C++ data mining library.
pyclustering.cluster.optics.ordering_visualizer Class Reference

Cluster ordering diagram visualizer that represents dataset graphically as density-based clustering structure. More...

Static Public Member Functions

def show_ordering_diagram (analyser, amount_clusters=None)
 Display cluster-ordering (reachability-plot) diagram. More...
 

Detailed Description

Cluster ordering diagram visualizer that represents dataset graphically as density-based clustering structure.

This OPTICS algorithm is KD-tree optimized.

See also
ordering_analyser

Definition at line 27 of file optics.py.

Member Function Documentation

◆ show_ordering_diagram()

def pyclustering.cluster.optics.ordering_visualizer.show_ordering_diagram (   analyser,
  amount_clusters = None 
)
static

Display cluster-ordering (reachability-plot) diagram.

Parameters
[in]analyser(ordering_analyser): cluster-ordering analyser whose ordering diagram should be displayed.
[in]amount_clusters(uint): if it is not 'None' then it displays connectivity radius line that can used for allocation of specified amount of clusters and colorize diagram by corresponding cluster colors.

Example demonstrates general abilities of 'ordering_visualizer' class:

# Display cluster-ordering diagram with connectivity radius is used for allocation of three clusters.
ordering_visualizer.show_ordering_diagram(analyser, 3);
# Display cluster-ordering diagram without radius.
ordering_visualizer.show_ordering_diagram(analyser);

Definition at line 37 of file optics.py.


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