I am trying to add a custom linkage function to the hierarchical clustering in SciPy. I can't seem to access the implementation which redirects to _hierarchy.linkage(y, n, method_code) in .so compiled file.
Any idea on how to go further in a clean way?
Thanks