Skip to main content

Package containing various spatio-temporal clustering algorithms

Project description

ST-CLUSTERING

st_clustering is an open-source software package for spatial-temporal clustering:

  • Built on top of sklearn's clustering algorithms
  • Scales to memory using chuncking. See the st_fit_frame_split method

Installation

The easiest way to install st_clustering is by using pip :

pip install st_clustering

How to use

import st_clustering as stc

st_dbscan = stc.ST_DBSCAN(eps1 = 0.05, eps2 = 10, min_samples = 5)
st_dbscan.st_fit(data)
  • Demo Notebook: this Jupyter Notebook shows a demo of common features in this package.

Description

A package that implements a straightforward extension for various clustering algorithms to accomodate spatio-temporal data. Available algorithms are:

  • ST DBSCAN
  • ST Agglomerative
  • ST OPTICS
  • ST Spectral Clustering
  • ST Affinity Propagation
  • ST HDBSCAN

For more details please see original paper:

Cakmak, E., Plank, M., Calovi, D. S., Jordan, A., & Keim, D. (2021). Spatio-temporal clustering benchmark for collective animal behavior. In 1st ACM SIGSPATIAL International Workshop on Animal Movement Ecology and Human Mobility (HANIMOB’21).

License

Released under MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

st_clustering-0.1.0.tar.gz (451.4 kB view details)

Uploaded Source

File details

Details for the file st_clustering-0.1.0.tar.gz.

File metadata

  • Download URL: st_clustering-0.1.0.tar.gz
  • Upload date:
  • Size: 451.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for st_clustering-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f40f1d4f4812e18af7f2a43212958990271d1871c477337e2d0c58b0d6fe1127
MD5 93a689c9d10adda5d0494e4aa8fb24ce
BLAKE2b-256 351ff6e5594f92474025153d31c75bcd1ff4715ac8a5dfd60fac61fb928bea48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page