Skip to content

Conversation

@jfinkels
Copy link
Contributor

This commit uses the SciPy KDTree implementation to compute nearest
neighbors instead of the Scikit-Learn implementation. This eliminates
the need for the sklearn dependency altogether.

This fixes issue #6.

@jfinkels
Copy link
Contributor Author

This needs pull request #8 to fix the build.

'maintainer_email': 'fritz.obermeyer@gmail.com',
'license': 'Revised BSD',
'install_requires': ['numpy', 'scipy', 'scikit-learn'],
'install_requires': ['numpy', 'scipy'],
Copy link
Member

Choose a reason for hiding this comment

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

Nice! It's great to remove this dependency.

This commit uses the SciPy KDTree implementation to compute nearest
neighbors instead of the Scikit-Learn implementation. This eliminates
the need for the `sklearn` dependency altogether.
@jfinkels
Copy link
Contributor Author

The build seems to pass. I'm not familiar enough with the code to know if there's any other subtle issues with nearest neighbors, so I would keep an eye on dependent code to see if anything strange pops up.

@jfinkels jfinkels merged commit 82001d2 into posterior:master Sep 1, 2016
@jfinkels jfinkels deleted the remove-sklearn branch September 1, 2016 00:37
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