geosnap.analyze.analytics.azp

geosnap.analyze.analytics.azp(X, w, n_clusters=5, **kwargs)[source]

AZP clustering algorithm.

Parameters
Xarray_like

n x k attribute data

wlibpysal.weights.W instance

spatial weights matrix

n_clustersint, optional, default: 5

The number of clusters to form.

Returns
fitted cluster instance: region.p_regions.azp.AZP