Creating the mgwr_model using the MGWR function requires the bandwidth parameter. However, it does not accept a value or the array as shown in the paper. The error says "AttributeError: 'numpy.ndarray' object has no attribute 'bw'" (screenshot attached). This implies that it requires the selector object as opposed to the bandwidth value or array. I passed the bandwidth selector object in place of the value and it worked! (screenshot attached)
Hi @PratyushTripathy, Thats true. We need to pass the selector object when initializing an MGWR() object because the selector actually contains more information than just the bandwidths.
Creating the mgwr_model using the MGWR function requires the bandwidth parameter. However, it does not accept a value or the array as shown in the paper. The error says "AttributeError: 'numpy.ndarray' object has no attribute 'bw'" (screenshot attached). This implies that it requires the selector object as opposed to the bandwidth value or array. I passed the bandwidth selector object in place of the value and it worked! (screenshot attached)