freediscovery.cluster._DendrogramChildren

class freediscovery.cluster._DendrogramChildren(ddata)[source]

Compute childen for a given dendogram node

Parameters:ddata (dict) – data returned by scipy.cluster.hierarchy.dendrogram function
__init__(ddata)[source]

Methods

__init__(ddata)
query(node_id) Get all children for the node (specified by node_id)
query(node_id)[source]

Get all children for the node (specified by node_id)