Skip to contents

Setup DBSCANConfig

Usage

setup_DBSCAN(
  eps = 0.5,
  min_points = 5L,
  weights = NULL,
  border_points = TRUE,
  search = c("kdtree", "linear", "dist"),
  bucket_size = 100L,
  split_rule = c("SUGGEST", "STD", "MIDPT", "FAIR", "SL_MIDPT", "SL_FAIR"),
  approx = FALSE
)

Arguments

eps

Float: Radius of neighborhood.

min_points

Integer: Minimum number of points in a neighborhood to form a cluster.

weights

Numeric vector: Weights for data points.

border_points

Logical: If TRUE, assign border points to clusters.

Character: Nearest neighbor search strategy: "kdtree", "linear", or "dist".

bucket_size

Integer: Size of buckets for k-dtree search.

split_rule

Character: Rule for splitting clusters: "SUGGEST", "STD", "MIDPT", "FAIR", "SL_MIDPT", "SL_FAIR".

approx

Logical: If TRUE, use approximate nearest neighbor search.

Value

DBSCANConfig object.

Author

EDG