pygeoda.make_spatial

pygeoda.make_spatial(clusters, w)[source]

Make spatially constrained clusters Make spatially constrained clusters from non-spatially constrained clusters

Parameters
  • clusters (list) – A cluster classification variable (categorical values

  • functions (from a dataframe or values returned from cluster) –

  • kmeans) (e.g.) –

  • w (Weight) – An instance of Weight class.

Returns

A new categorical values represent spatially constrained clusters

Return type

result (list)