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

Enumeration of encoding types (index labeling, index list separation, object list separation). More...

+ Inheritance diagram for pyclustering.cluster.encoder.type_encoding:
+ Collaboration diagram for pyclustering.cluster.encoder.type_encoding:

Static Public Attributes

int CLUSTER_INDEX_LABELING = 0
 Results are represented by list of indexes and belonging to the cluster is defined by cluster index and element's position corresponds to object's position in input data, for example [0, 0, 1, 1, 1, 0].
 
int CLUSTER_INDEX_LIST_SEPARATION = 1
 Results are represented by list of lists, where each list consists of object indexes from input data, for example [ [0, 1, 2], [3, 4, 5], [6, 7] ].
 
int CLUSTER_OBJECT_LIST_SEPARATION = 2
 Results are represented by list of lists, where each list consists of objects from input data, for example [ [obj1, obj2], [obj3, obj4, obj5], [obj6, obj7] ].
 

Detailed Description

Enumeration of encoding types (index labeling, index list separation, object list separation).

Definition at line 16 of file encoder.py.


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