Calculate only AIC/AICc/BIC/CV (search method) in bandwidth searching and calculate full diagnostics in the final GWR.fit(). I am planning to submit a PR about this.
When calculating kernel for each bandwidth, distance matrix is calculated and sorted (if fixed = False) every time, which can be calculated for only once and passed to kernel calculation function.
Two speed-up ideas
Calculate only AIC/AICc/BIC/CV (search method) in bandwidth searching and calculate full diagnostics in the final
GWR.fit()
. I am planning to submit a PR about this.When calculating kernel for each bandwidth, distance matrix is calculated and sorted (if
fixed = False
) every time, which can be calculated for only once and passed to kernel calculation function.