geosnap.analyze.analytics.skater

geosnap.analyze.analytics.skater(X, w, n_clusters=5, floor=-inf, trace=False, islands='increase', **kwargs)[source]

SKATER spatial 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.

floortype

TODO.

tracetype

TODO.

islandstype

TODO.

Returns
fitted cluster instance: region.skater.skater.Spanning_Forest