TST Extend tests for scipy.sparse.*array in sklearn/cluster/tests/test_k_means.py#27179
TST Extend tests for scipy.sparse.*array in sklearn/cluster/tests/test_k_means.py#27179OmarManzoor merged 13 commits intoscikit-learn:mainfrom
scipy.sparse.*array in sklearn/cluster/tests/test_k_means.py#27179Conversation
ogrisel
left a comment
There was a problem hiding this comment.
Thanks for the PR. Please consider the following naming suggestion. I did not made suggestions everywhere because it was getting tedious to do it all view the GitHub web UI but I would rather avoid using _container in variable names both to describe the name of the data type or constructor on the one hand (as used in other similar PRs) and the name of the data variable that results from this conversion.
You can take inspirations from my suggestions to resolve this ambiguity but this should be done systematically throughout the PR.
|
@ogrisel Thank you a lot! I will notify you when I finish naming issues. |
glemaitre
left a comment
There was a problem hiding this comment.
Apart from those small changes, LGTM.
Signed-off-by: Nurseit Kamchyev <bncer.ml@gmail.com>
Signed-off-by: Nurseit Kamchyev <bncer.ml@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Signed-off-by: Nurseit Kamchyev <bncer.ml@gmail.com>
Signed-off-by: Nurseit Kamchyev <bncer.ml@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Signed-off-by: Nurseit Kamchyev <bncer.ml@gmail.com>
|
@ogrisel please, take a look on changes |
glemaitre
left a comment
There was a problem hiding this comment.
I solved the conflict in the what's new.
@OmarManzoor do you want to have a second look.
Reference Issues/PRs
Towards #27090
What does this implement/fix? Explain your changes.
This PR should support
scipy.sparse.*arrayin cluster.kmeans_plusplus module.Added tests cases of scipy's sparse array into
sklearn/cluster/tests/test_k_means.pyfileAny other comments?
Nope