Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWR: RuntimeWarning: divide by zero encountered in divide #188

Closed
Algunenano opened this issue Nov 15, 2017 · 3 comments
Closed

GWR: RuntimeWarning: divide by zero encountered in divide #188

Algunenano opened this issue Nov 15, 2017 · 3 comments
Assignees
Labels

Comments

@Algunenano
Copy link
Contributor

When running the python tests I'm getting this runtime warning:

nosetests2 crankshaft/test/
/usr/lib/python2.7/site-packages/sklearn/cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
................/usr/lib/python2.7/site-packages/crankshaft/regression/gwr/base/gwr.py:236: RuntimeWarning: divide by zero encountered in divide
  S = S * (1.0/z)
/usr/lib/python2.7/site-packages/crankshaft/regression/gwr/base/gwr.py:236: RuntimeWarning: invalid value encountered in multiply
  S = S * (1.0/z)
........
----------------------------------------------------------------------
Ran 24 tests in 0.881s

OK

cc/ @andy-esch

@Algunenano Algunenano added the bug label Nov 15, 2017
@andy-esch andy-esch self-assigned this Nov 15, 2017
@andy-esch
Copy link
Contributor

Thanks for flagging this @Algunenano. I'll look into it.

@andy-esch
Copy link
Contributor

Waiting on some upstream changes: pysal/pysal#1010

@Algunenano
Copy link
Contributor Author

Stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants