Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rectangular (esp. sparse) matrices in pyflagser, fixing #48 #55

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

ulupo
Copy link
Contributor

@ulupo ulupo commented Dec 1, 2020

Reference Issues/PRs

Fixes #48.

What does this implement/fix? Explain your changes.

Allows for non-square input in _extract_unweighted_graph and _extract_weighted_graph, handling all unspecified off-diagonal entries as absent from the filtration. Non-square warnings are left only for dense input. Code is simplified.

@ulupo ulupo marked this pull request as draft December 1, 2020 07:41
@ulupo ulupo marked this pull request as ready for review December 3, 2020 08:45
@ulupo ulupo merged commit 3aa9846 into giotto-ai:master Dec 3, 2020
@ulupo ulupo deleted the support_rectangular_shapes branch December 3, 2020 08:45
ulupo added a commit that referenced this pull request Dec 3, 2020
* Support rectangular (esp. sparse) matrices in pyflagser (#55)

Cleanup code in `_extract_unweighted_graph` and `_extract_weighted_graph`

* Bump version to 0.4.3, write release notes

* Remove square input requirement from docstrings, fix some typos

* Remove unused variables from flagser_count_unweighted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relax condition on square shape on sparse input
1 participant