0

So im using python and trying to do a MGWR

When looking for bw for my GWR I used

>>> gwr_selector = Sel_BW(g_coords, g_y, g_X)
>>> bw = gwr_selector.search(bw_min=2)
>>> bw

and it worked fine. I am trying to do

>>> mgwr_selector = Sel_BW(g_coords, g_y, g_X, multi=True)
>>> mgwr_bw = mgwr_selector.search(multi_bw_min=[2])
>>> mgwr_bw

and it is not working.

ValueError: kth(=53) out of bounds (33)

Mentionable is that I had issues with finding the bw for my GWR when using

>>> gwr_selector = Sel_BW(g_coords, g_y, g_X)
>>> bw = gwr_selector.search()
>>> bw

and got the same ValueError: kth(=53) out of bounds (33) as I am getting now with my MGWR, even though I am using the same min. Ive played around with the min value but it is not working.

vaku
  • 697
  • 8
  • 17

0 Answers0