mhahsler/dbscan
Density Based Clustering of Applications with Noise (DBSCAN) and Related Algorithms - R package
What it solves
Clustering data when clusters can be irregular in shape and contain noise is a common problem. Traditional methods like k-means assume spherical clusters and are sensitive to outliers. This package brings density-based clustering algorithms to R, which can find clusters of any shape and automatically identify noise points, while also supporting outlier detection and cluster evaluation.
How it works
The package provides C++ implementations of several density-based algorithms, called through an R interface. It uses k-d trees to speed up nearest-neighbor searches, making it faster than base R code and even than some other implementations like scikit-learn. The main included methods are DBSCAN, HDBSCAN, OPTICS, Jarvis-Patrick, and SNN clustering. It also includes outlier detection via LOF and GLOSH, and cluster validation using DBCV.
Who it's for
Researchers and data analysts working in R who need to cluster spatial or high-dimensional data, especially when clusters are not spherical or when the data contains noise. It is also useful for anyone needing fast outlier detection from density-based hierarchies.
Highlights
- Fast C++ implementations accelerated with k-d trees
- Includes DBSCAN, HDBSCAN, OPTICS, and other density-based algorithms
- Built-in outlier detection (LOF, GLOSH) and cluster validation (DBCV)
- Widely used by many other R packages, as listed in the README
Related
- Project
scikit-learn-contrib/hdbscanHDBSCAN is a high-performance clustering library that identifies clusters of varying densities in data while remaining robust to parameter selection. It provides a drop-in, easy-to-use alternative to traditional clustering algorithms for exploratory data analysis.
- Project
jlblancoc/nanoflannnanoflann is a header-only C++ library for fast nearest-neighbor search using KD-trees. It supports exact searches, dynamic point clouds, and non-Euclidean manifolds, with high performance and memory efficiency. It's a fork of FLANN, distributed under BSD license, and can be installed via package managers or used directly by including a single header file.
- Project
e-sensing/sitsSITS is an open‑source R package (with a Python wrapper) for building, regularising, and classifying satellite‑image time‑series data cubes. It connects to many public EO collections, offers a suite of ML/DL models (including GPU‑accelerated CNNs and attention encoders), and provides end‑to‑end tools for training, classification, smoothing, uncertainty estimation, and active learning.
- Project
facebookresearch/faissA library for efficient similarity search and clustering of dense vectors, capable of handling billion-scale datasets using CPU and GPU acceleration.
- Project
Peterande/D-FINED‑FINE is a real‑time object‑detection framework that redefines DETR’s box regression as a fine‑grained distribution refinement and adds a self‑distillation module. It offers several model sizes (‑N to ‑X) that achieve state‑of‑the‑art COCO/AP scores (42.8 %–55.8 %) while running at 70‑470 FPS on a T4 GPU, with no extra inference cost. The repo provides pretrained checkpoints, config files, and full training/evaluation scripts for COCO, Objects365, and custom COCO‑style datasets.