mkt.databases.conservation.rebuild_tree_from_data
- mkt.databases.conservation.rebuild_tree_from_data(data: KLIFSConservationData) ClusterNode[source]
Reconstruct the SciPy hierarchical tree from a persisted artifact.
The scipy bridge for
KLIFSConservationData: consumers holding only the schema (which is scipy-free) call this inmkt.databasesto recover the fullClusterNodetree from the stored linkage matrix.- Parameters:
data (KLIFSConservationData) – The persisted conservation-data artifact.
- Returns:
Root node of the reconstructed hierarchical tree.
- Return type:
scipy.cluster.hierarchy.ClusterNode