scikit-learn/scikit-learn — pull request #3985 by MechCoder (2014-12-19 16:41:56+00:00)
Title: [MRG] ENH: Return distances option for linkage_trees

On the lines of https://github.com/scikit-learn/scikit-learn/pull/3158 . Also a micro optimization for the `ward_tree` option, by preallocating the distance array.