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

Description of cluster for representation on canvas. More...

Public Member Functions

def __init__ (self, cluster, data, marker, markersize, color)
 Constructor of cluster representation on the canvas. More...
 

Public Attributes

 cluster
 Cluster that may consist of objects or indexes of objects from data.
 
 data
 Data where objects are stored. More...
 
 marker
 Marker that is used for drawing objects.
 
 markersize
 Size of marker that is used for drawing objects.
 
 color
 Color that is used for coloring marker.
 
 attributes
 Attribures of the clusters - additional collections of data points that are regarded to the cluster.
 

Detailed Description

Description of cluster for representation on canvas.

Definition at line 20 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.cluster.canvas_cluster_descr.__init__ (   self,
  cluster,
  data,
  marker,
  markersize,
  color 
)

Constructor of cluster representation on the canvas.

Parameters
[in]cluster(list): Single cluster that consists of objects or indexes from data.
[in]data(list): Objects that should be displayed, can be None if clusters consist of objects instead of indexes.
[in]marker(string): Type of marker that is used for drawing objects.
[in]markersize(uint): Size of marker that is used for drawing objects.
[in]color(string): Color of the marker that is used for drawing objects.

Definition at line 26 of file __init__.py.

Member Data Documentation

◆ data

pyclustering.cluster.canvas_cluster_descr.data

Data where objects are stored.

It can be None if clusters consist of objects instead of indexes.

Definition at line 41 of file __init__.py.

Referenced by pyclustering.container.kdtree.node.__repr__().


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