Closed tschm closed 3 years ago
Many thanks for pointing out this bug.
Now corrected on the develop branch (update get_labels in hierarchy/postprocess.py).
The returned dendrogram is now:
array([[ 0. , 3. , 0.49373192, 5. ], [ 1. , 8. , 0.54854167, 6. ], [ 2. , 9. , 0.65711535, 7. ], [ 5. , 7. , 0.66109365, 5. ], [ 4. , 6. , 0.68098031, 8. ], [11. , 12. , 0.79584075, 13. ], [10. , 13. , 1.03229063, 20. ]])
Description
Playing with cut_balanced failed
What I Did
Here's my dendrogram
results in this invalid dendrogram...