Skip to content

Fix test_mnn_graph_decay and test_set_params - #90

Open
hugobuddel wants to merge 2 commits into
KrishnaswamyLab:masterfrom
hugobuddel:fix-tests
Open

hugobuddel wants to merge 2 commits into
KrishnaswamyLab:masterfrom
hugobuddel:fix-tests

Conversation

@hugobuddel

Copy link
Copy Markdown

test_mnn_graph_decay and test_set_params are numerically unstable, this P.R. fixes them.

sklearn.utils.extmath.randomized_svd() is numerically unstable when running
multiple OpenMP threads, occassionally leading to empty sets.  That is all
irrelevant in an API test.  A low n_landmark value is stable.
pygsp generates G using dense pandas/NumPy matrices, while graphtools
uses sparse matrices, leading to small numerical differences.
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.

1 participant