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

wPySAL W instance

spatial weights matrix

n_clustersint, optional, default: 5

The number of clusters to form.

Returns
model: region AZP instance