Skip to content

[WIP] Common test for equivalence between sparse and dense matrices.#7590

Closed
maniteja123 wants to merge 2 commits intoscikit-learn:masterfrom
maniteja123:sparse_common_test
Closed

[WIP] Common test for equivalence between sparse and dense matrices.#7590
maniteja123 wants to merge 2 commits intoscikit-learn:masterfrom
maniteja123:sparse_common_test

Conversation

@maniteja123
Copy link
Copy Markdown
Contributor

@maniteja123 maniteja123 commented Oct 6, 2016

Solves #1572

What does this implement/fix? Explain your changes.

The common test is to ensure results on sparse and dense matrices are identical

Any other comments?

Some failing tests in estimators of linear_model all of which have separate code paths for sparse and dense matrices. I am not aware of any difference with its working on sparse and dense matrices. Please do let me know if there is any reason for this. I too will try to look into the code path. Thanks.

Notes

In neighbors module, the algorithm is set to brute for sparse matrices, but it is auto by default. So, I have set the param algorithm to brute so that the tests pass.

Loading
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.

9 participants