Commit Graph

9 Commits

Author SHA1 Message Date
Thomas J. Fan c010d9a5a7
MAINT Use push_back directly in dbscan_inner (#22077) 2021-12-31 11:52:13 +01:00
Thomas J. Fan 5ddf7a8c80
MNT Add extern to avoid build warning in _dbscan_inner.pyx (#21822) 2021-12-09 17:17:41 +01:00
Jérémie du Boisberranger 1f8825c8dd
MNT Centralize common cython compiler directives (#21512) 2021-11-03 13:26:23 +01:00
Gregory R. Lee 3deacb98c7
MNT consistently call import_array() after cimport of numpy (#17054) 2020-04-28 12:19:52 +02:00
jeremiedbb cad0fb434f MNT Use a common language_level cython directive (#13630) 2019-04-13 07:30:18 +02:00
Roman Yurchak 49570484db MAINT Use cython language_level=3 directive (#12873) 2019-02-28 18:45:15 +01:00
Hanmin Qin c393bd499e Partly revert #6799 to keep DBSCAN fast (#9118) 2017-06-15 10:45:24 +02:00
Liang-Chi Hsieh 95c4172db6 [MRG+1] Add a set recording pushed elements in DBSCAN (#6799)
* Add a push map recording pushed elements.

* Use set instead of map.

* Documented the p parameter.
2016-06-03 11:32:25 +02:00
Lars Buitinck 27d4376dcf ENH optimize DBSCAN by rewriting in Cython
~30% off the running time for a 3.7e5 set of 3-d points.
2015-03-17 16:21:10 +01:00