PackageTrack
Sign in Get early access

dbscan_dart

A lightweight, pure-Dart implementation of the DBSCAN clustering algorithm with KD-Tree optimization.

2.0.1 2.9K downloads/mo #4706 most downloaded on pub.dev helpisdev/dbscan_dart

What this package is like to depend on

Last release 1 years ago

19 Jul 2025

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

7 releases · first in 2025

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jun 2025 to Jul 2025
2026
Release Pre-release

Releases

latest 7
  1. 2.0.1 19 Jul 2025
    Release notes
    • DOCS: add proper attribution for Floyd-Rivest quickselect algo…
    Open source →
    Release notes
    • DOCS: add proper attribution for Floyd-Rivest quickselect algorithm. (3ac91310)
    Open source →
  2. 2.0.0 19 Jul 2025
    Release notes
    • BREAKING FEAT: major performance overhaul with breaking SpatialPoint interface changes. (338254a5)
    Open source →
    Release notes

    Note: This release has breaking changes.

    • BREAKING FEAT: major performance overhaul with breaking SpatialPoint interface changes. (338254a5)
    Open source →
  3. 1.1.4 11 Jun 2025
    Release notes
    • REFACTOR: Improve code formatting and readability. ([f2abfab]…
    Open source →
    Release notes
    • REFACTOR: Improve code formatting and readability. (f2abfab8)
    Open source →
  4. 1.1.3 07 Jun 2025
    Release notes
    Open source →
    Release notes
    • FIX(pubspec): Downgrade meta dependency. (7156f003)
    Open source →
  5. 1.1.2 07 Jun 2025
    Release notes
    Open source →
    Release notes
    • FIX(pubspec): Update SDK constraint. (79463f0a)
    Open source →
  6. 1.1.1 06 Jun 2025
    Release notes
    Open source →
    Release notes
    • DOCS(readme): Add pub.dev badges. (6715bba2)
    Open source →
  7. 1.1.0 06 Jun 2025
    Release notes

    What's Changed

    • FEAT: Integrate Melos for version management
    • FEAT(core): Initial release of dbscan_dart package

    Features

    🚀 DBSCAN Dart Implementation - A high-performance, pure-Dart implementation of the DBSCAN clustering algorithm with spatial optimization.

    Key Features:

    • 🔍 KD-Tree & Grid Optimization - Dramatically improves performance on large datasets through spatial indexing
    • 🧩 Flexible Point Interface - Cluster any data type by implementing a simple interface
    • 🔄 Efficient Expansion Algorithm - Uses optimized seed-set expansion with duplicate tracking
    • 🛡️ Border Point Handling - Smart border point detection prevents misclassification as noise
    • 📊 Comprehensive Results - Returns both per-cluster point collections and per-point cluster assignments

    Installation

    dependencies:
      dbscan_dart: ^1.1.0

    Usage

    import 'package:dbscan_dart/dbscan_dart.dart';
    
    // Create sample points
    final points = [
      LatLngPoint(pointId: PointId(1), lat: 37.7749, lng: -122.4194),
      LatLngPoint(pointId: PointId(2), lat: 37.7849, lng: -122.4094),
      // ... more points
    ];
    
    // Run DBSCAN clustering
    final dbscan = DBScan(eps: 5, minPoints: 4);
    final result = dbscan.run(points: points);
    
    // Access results
    print('Clusters: ${result.clusters}');
    print('Labels: ${result.labels}');

    Full Changelog: https://github.com/helpisdev/dbscan_dart/blob/main/CHANGELOG.md

    Open source →
    Release notes
    • FEAT: Integrate Melos for version management. (b697bddf)
    • FEAT(core): Initial release of dbscan_dart package. (e7e32f78)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive