Skip to content

Releases: perimosocordiae/graphs

v0.1.3

14 Dec 15:11
Compare
Choose a tag to compare

This minor release includes:

  • Sparse Manifold Clustering and Embedding, available as graphs.construction.smce_graph.
  • Bugfix for locality_preserving_projections when using a sparse Laplacian matrix.
  • Improved keyword arguments for some methods.

v0.1.2

08 Sep 19:34
Compare
Choose a tag to compare

This minor release includes:

  • a new construction method: graphs.construction.urquhart_graph()
  • a weighted option for graphs.construction.b_matching()
  • a metric option for graphs.construction.neighbor_graph()/nearest_neighbors(), and a soft deprecation of the precomputed kwarg
  • smarter dispatching logic and more kwargs for the Graph.shortest_path() method
  • documentation fixes
  • more consistent use of warnings and errors
  • tweaks to the default graph visualization style

v0.1.1

05 Aug 21:44
Compare
Choose a tag to compare

This is a bugfix-only release, without any new features.

v0.1.0

21 Jul 19:19
Compare
Choose a tag to compare

This release only includes 14 commits, but it restructures a lot of code and made some big breaking API changes.

Big changes:

  • foo.matrix(dense=True, csr=True) is now written as foo.matrix('dense', 'csr'). This affects a lot of code, but it needed to be fixed.
  • The dataset code from the graphs.generators module has been split out into a new module, graphs.datasets.
  • The random_graph function has been moved from graphs.construction to graphs.generators.
  • Two new functions for creating graphs have been added: chain_graph and lattice_graph.
  • The defaults for foo.plot() are now directed=False and weighted=False, because that's what most of the use-cases are.
  • The Graph object has two new methods: bicolor_spectral and isograph.

v0.0.4

12 Jul 18:39
Compare
Choose a tag to compare

This release covers 62 commits, and contains many improvements and bug fixes:

  • Added a TransformMixin, which provides many convenient methods for transforming graphs.
  • Graph.pairs and Graph.edge_weights now support a directed kwarg.
  • Added a Graph.subgraph method, for extracting a subgraph as a separate Graph object.
  • Added a Graph.remove_edges method.
  • Graph.from_edge_pairs now supports the case where weights are provided for symmetric pairs.
  • Added a benchmark for neighbor graph construction.
  • Added an example script which demonstrates nine methods for building a graph on the swiss roll toy dataset.
  • Improved docstrings for methods overridden by Graph subclasses.
  • Refactored the Cython code for easier distribution and use.

... and much more! The API is still evolving, but most of the changes should be backwards-compatible with v0.0.3.