Cluster Type Meta
GitHub Link to Code.
Metaclass for cluster types to enable string representation of classes.
Allows cluster_type.DBSCAN to return “dbscan” directly instead of requiring instantiation or method calls.
- class mdxplain.clustering.cluster_type.interfaces.cluster_type_meta.ClusterTypeMeta(name, bases, namespace, /, **kwargs)
Bases:
ABCMetaMetaclass for cluster types to enable string representation of classes.
This allows cluster_type.DBSCAN to return “dbscan” directly instead of requiring instantiation or method calls.
Inherits from ABCMeta to be compatible with ABC classes.