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
- w
libpysal.weights.W
instance spatial weights matrix
- n_clusters
int
, optional, default: 5 The number of clusters to form.
- Returns
- fitted cluster instance:
region.p_regions.azp.AZP
- fitted cluster instance: