Skip to contents

ST-DBSCAN (spatio-temporal density-based spatial clustering of applications with noise) clustering. Calls stdbscan::st_dbscan() from package stdbscan.

The task must have exactly 3 features: the first two features (in the task's feature order, which is alphabetical for newly created tasks) are used as the spatial coordinates and the third feature as the temporal coordinate.

Dictionary

This mlr3::Learner can be instantiated via the dictionary mlr3::mlr_learners or with the associated sugar function mlr3::lrn():

mlr_learners$get("clust.stdbscan")
lrn("clust.stdbscan")

Meta Information

  • Task type: “clust”

  • Predict Types: “partition”

  • Feature Types: “integer”, “numeric”

  • Required Packages: mlr3, mlr3cluster, stdbscan

Parameters

IdTypeDefaultLevelsRange
eps_spatialnumeric-\([0, \infty)\)
eps_temporalnumeric-\([0, \infty)\)
min_ptsinteger-\([1, \infty)\)
borderPointslogicalTRUETRUE, FALSE-
searchcharacterkdtreekdtree, linear, dist-
bucketSizeinteger10\([1, \infty)\)
splitRulecharacterSUGGESTSTD, MIDPT, FAIR, SL_MIDPT, SL_FAIR, SUGGEST-
approxnumeric0\((-\infty, \infty)\)

References

Birant, Derya, Kut, Alp (2007). “ST-DBSCAN: An algorithm for clustering spatial-temporal data.” Data & Knowledge Engineering, 60(1), 208–221. doi:10.1016/j.datak.2006.01.013 .

See also

Other Learner: mlr_learners_clust.MBatchKMeans, mlr_learners_clust.SimpleKMeans, mlr_learners_clust.agnes, mlr_learners_clust.ap, mlr_learners_clust.bico, mlr_learners_clust.birch, mlr_learners_clust.clara, mlr_learners_clust.cmeans, mlr_learners_clust.cobweb, mlr_learners_clust.dbscan, mlr_learners_clust.dbscan_fpc, mlr_learners_clust.diana, mlr_learners_clust.em, mlr_learners_clust.fanny, mlr_learners_clust.featureless, mlr_learners_clust.ff, mlr_learners_clust.flexmix, mlr_learners_clust.genie, mlr_learners_clust.hclust, mlr_learners_clust.hdbscan, mlr_learners_clust.kcca, mlr_learners_clust.kkmeans, mlr_learners_clust.kmeans, mlr_learners_clust.kproto, mlr_learners_clust.mclust, mlr_learners_clust.meanshift, mlr_learners_clust.movMF, mlr_learners_clust.optics, mlr_learners_clust.pam, mlr_learners_clust.protoclust, mlr_learners_clust.skmeans, mlr_learners_clust.som, mlr_learners_clust.specc, mlr_learners_clust.tclust, mlr_learners_clust.xmeans

Super classes

mlr3::Learner -> LearnerClust -> LearnerClustSTDBSCAN

Methods

Inherited methods


LearnerClustSTDBSCAN$new()

Creates a new instance of this R6 class.

Usage


LearnerClustSTDBSCAN$clone()

The objects of this class are cloneable with this method.

Usage

LearnerClustSTDBSCAN$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

# Define the Learner and set parameter values
learner = lrn("clust.stdbscan")
print(learner)
#> 
#> ── <LearnerClustSTDBSCAN> (clust.stdbscan): ST-DBSCAN ──────────────────────────
#> • Model: -
#> • Parameters: list()
#> • Packages: mlr3, mlr3cluster, and stdbscan
#> • Predict Types: [partition]
#> • Feature Types: integer and numeric
#> • Encapsulation: none (fallback: -)
#> • Properties: density, exclusive, and partial
#> • Other settings: use_weights = 'error', predict_raw = 'FALSE'