pyclustering.cluster.cure.cure_cluster Class Reference

Represents data cluster in CURE term. More...

Public Member Functions

def __init__ (self, point, index)
 Constructor of CURE cluster. More...
 
def __repr__ (self)
 Displays distance to closest cluster and points that are contained by current cluster.
 

Public Attributes

 points
 List of points that make up cluster. More...
 
 indexes
 Point indexes in dataset. More...
 
 mean
 Mean of points that make up cluster. More...
 
 rep
 List of points that represents clusters. More...
 
 closest
 Pointer to the closest cluster. More...
 
 distance
 Distance to the closest cluster. More...
 

Detailed Description

Represents data cluster in CURE term.

CURE cluster is described by points of cluster, representation points of the cluster and by the cluster center.

Definition at line 41 of file cure.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.cluster.cure.cure_cluster.__init__ (   self,
  point,
  index 
)

Constructor of CURE cluster.

Parameters
[in]point(list): Point represented by list of coordinates.
[in]index(uint): Index point in dataset.

Definition at line 48 of file cure.py.

Member Data Documentation

◆ closest

pyclustering.cluster.cure.cure_cluster.closest

Pointer to the closest cluster.

Definition at line 76 of file cure.py.

◆ distance

pyclustering.cluster.cure.cure_cluster.distance

Distance to the closest cluster.

Definition at line 79 of file cure.py.

Referenced by pyclustering.cluster.cure.cure_cluster.__repr__().

◆ indexes

pyclustering.cluster.cure.cure_cluster.indexes

Point indexes in dataset.

Definition at line 61 of file cure.py.

◆ mean

pyclustering.cluster.cure.cure_cluster.mean

Mean of points that make up cluster.

Definition at line 64 of file cure.py.

◆ points

pyclustering.cluster.cure.cure_cluster.points

List of points that make up cluster.

Definition at line 58 of file cure.py.

Referenced by pyclustering.cluster.cure.cure_cluster.__repr__().

◆ rep

pyclustering.cluster.cure.cure_cluster.rep

List of points that represents clusters.

Definition at line 67 of file cure.py.


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