Skip to content

Commit

Permalink
Merge pull request #268 from janezd/reimplement-from-distances
Browse files Browse the repository at this point in the history
Reimplement Network from Distances
  • Loading branch information
ajdapretnar authored Feb 23, 2024
2 parents c31a248 + aa6f2fc commit a13cb52
Show file tree
Hide file tree
Showing 11 changed files with 1,256 additions and 418 deletions.
2 changes: 1 addition & 1 deletion orangecontrib/network/network/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def wrapper(graph, *args, **kwargs):


sum_over_edge_types = \
partial(aggregate_over_edge_types, lambda x: reduce(np.add, x))
partial(aggregate_over_edge_types, lambda x: reduce(np.add, x, 0))

concatenate_over_edge_types = partial(aggregate_over_edge_types, np.hstack)

Expand Down
Loading

0 comments on commit a13cb52

Please sign in to comment.