microsoft / topologic

A python library for intelligently building networks and network embeddings, and for analyzing connected data.
https://topologic.readthedocs.io
MIT License
27 stars 8 forks source link

Distance module refactor #25

Closed daxpryce closed 4 years ago

daxpryce commented 4 years ago

Closes #5

The distance module was once placed at the top level, and was used primarily as a quick alias to the scipy functions that are the actual spatial distance functions that we tend to use most frequently after generating our embeddings.

Re-implementing the documentation for these functions really had no value, and how we used these distance functions was really the valuable bit - yet wasn't included as general functions. We changed that with this refactor, adding two main functions: