Clustering

class cobras_ts.clustering.Clustering(clusters)

An instance of Clustering represents a full clustering of the dataset Note that an instance of clustering is not always a valid clustering (e.g. we are in the middle of the merging phase)

clusters = None

The clusters in this clustering

construct_cluster_labeling()
Returns

a list of labels indicating the clustering assignment of this clustering

Cluster

class cobras_ts.cluster.Cluster(super_instances)

An instance of the class Cluster represents a single cluster. In the case of COBRAS a cluster contains several super-instances.

get_all_points()
Returns

a list of all the indices of instances in this cluster

is_pure = None

Whether or not this cluster is pure (as indicated by the querier)

super_instances = None

The super-instances in this cluster