Skip to content

Predict Function Issues #3

Closed Answered by pdGruby
Psychodogs asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Psychodogs,

Thank you so much for your valuable feedback! Your observations are greatly appreciated and will undoubtedly help improve the GeoKrige package. I’ve taken some time to investigate the issue, and here are my findings.

Notes

But the same error still pops up. I think the issue lies with how the numpy package handles the numpy.meshgrid function.

You are absolutely correct. The issue arises because GeoKrige expects the X parameter in the predict method to be either a list or a numpy.ndarray. Historically, the numpy.meshgrid function returned a list of ndarray objects, but starting from version 2.0.0, it returns a tuple of ndarray objects. This change is what’s causing the …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Psychodogs
Comment options

Answer selected by pdGruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants