math-utils/hierarchical-clustering — pull request #4 by finnp (2014-12-12 18:17:37+00:00)
Title: Add predefined linkage functions

I added three linkage functions `average, single, complete`, which can be used by passing in a string with the names to the linkage argument instead of a function as suggested here #2.

I duplicated the tests for every functions, not a good test, but at least ensures that they are working.