neka-nat / cupoch

Robotics with GPU computing
MIT License
918 stars 107 forks source link

The result of using DBSCAN is wrong. #93

Closed yeyang1021 closed 2 years ago

yeyang1021 commented 2 years ago

The result is different. When compared with the result from "sklearn.cluster import DBSCAN"

neka-nat commented 2 years ago

It uses the dbscan algorithm for gpu, so the results may differ from scikitlearn's results. G-DBSCAN: A GPU Accelerated Algorithm for Density-based Clustering Some parameters are also different from those of scikitlearn, and it may be possible to adjust these to bring the results closer. https://github.com/neka-nat/cupoch/blob/master/src/python/cupoch_pybind/geometry/pointcloud.cpp#L228