pysal / mgwr

Multiscale Geographically Weighted Regression (MGWR)
https://mgwr.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
366 stars 126 forks source link

GWR Predict Failed #120

Open Cheetos opened 1 year ago

Cheetos commented 1 year ago

Hi,

I'm using the predict method in GWR model, it works fine when I call it the first time, but the second time (using the same data), I get the following error:

ValueError: operands could not be broadcast together with shapes....

Is the expected behavior that the predict method only works once? Thank you.

Best, David

Cheetos commented 1 year ago

Note: The prediction set has a different size than the training set.

X-Fan-Jack commented 6 months ago

I have the same questions, have you solved it?