Hi, I was trying to visualize the tree structure obtained from ward, but I don't quite understand the data format of the children_ attribute.
The documentation reads: children_ array-like, shape = [n_nodes, 2] List of the children of each nodes. Leaves of the tree do not appear. So it is not a "left child-right Sibling representation", right? Are there any pointers to that specific format or even better does anyone have some advice on how to visualize the tree with ``scipy.cluster.hierarchy.dendrogram`` or ``graphviz``? As a second, but slightly related question, is it possible to use the ward on a n_features x n_features matrix (e.g. an adjacency matrix)? It works, but I wasn't sure whether these results can be considered as meaningful. Help is much appreciated. Thanks in advance, Matthias ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
