pygeoda.weights.distance

Functions

distance_weights(geoda_obj, dist_thres, **kwargs)

Distance-based Spatial Weights Create a distance-based weights

knn_weights(geoda_obj, k, **kwargs)

K-Nearest Neighbors-based Spatial Weights Create a k-nearest neighbors based spatial weights

min_distthreshold(geoda_obj[, is_arc, is_mile])

Minimum Distance Threshold for Distance-based Weights Get minimum threshold of distance that makes sure each observation has at least one neighbor