Skip to content

Fix weird import in neural_network/rbm.py#12032

Merged
rth merged 1 commit intoscikit-learn:masterfrom
jeremiedbb:rbm-issparse
Sep 7, 2018
Merged

Fix weird import in neural_network/rbm.py#12032
rth merged 1 commit intoscikit-learn:masterfrom
jeremiedbb:rbm-issparse

Conversation

@jeremiedbb
Copy link
Copy Markdown
Member

I noticed that in neural_network/rbm.py, the issparse function is imported from scipy through sklearn/utils.
I don't know if there was a custom issparse function in utils in the past but there's not one today. So it should be imported directly.

Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks LGTM.

(Travis fails due to an unrelated reason, also on master...)

@rth rth merged commit 121dd5a into scikit-learn:master Sep 7, 2018
@jeremiedbb jeremiedbb deleted the rbm-issparse branch September 7, 2018 14:00
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Sep 9, 2018
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Sep 17, 2018
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.

2 participants