Commit Graph

21 Commits

Author SHA1 Message Date
Joel Nothman 343f9b4dcb ENH sparse precomputed distance matrix in DBSCAN 2015-09-01 11:31:54 +10:00
Joel Nothman 847e366a2e FIX test with invalid input; simplify dbscan precomputed 2015-08-30 13:49:46 +01:00
Loïc Estève af1b652080 FIX DBSCAN fit with precomputed matrix in edge cases
and add test.
2015-04-30 13:40:59 +02:00
Raghav R V cd2ee7e454 MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
Olivier Grisel 2e99294a54 FIX & TST at least min_samples to be considered a core sample 2015-03-17 16:21:10 +01:00
Joel Nothman 15c9c0f01a FIX/TST boundary cases in dbscan (closes #4073) 2015-03-05 23:31:54 +01:00
Erich Schubert a2087d8eee Do not shuffle in DBSCAN (warn if `random_state` is used).
This makes little difference, and original DBSCAN did not shuffle.
Warn if `random_state` is used.

As is `random_state` encourages users to experiment with different
randomization, as you would do with k-means. But in contrast to
k-means, the output of DBSCAN is deterministic except for cluster
enumeration and "rare" cases, where a point is on the border of
two clusters at the same time. As this affects single points only,
the measureable performance difference will be close to zero.

Also, incorporate fix for minpts including the query point.
2015-03-05 23:31:54 +01:00
Loïc Estève 5c0c5c672c MAINT use absolute imports in tests
as per the guideline in:
http://scikit-learn.org/stable/developers/#coding-guidelines
2015-02-10 13:40:31 +01:00
Andreas Mueller 494b8e5743 TST add test for sparse matrix handling in clustering
Make sparsity check check everything.

don't test everything. That would be nice but is out of scope :-/

catch special case of no core samples in DBSCAN

add nonregression test for sparse dbscan with no core samples.
2015-01-16 12:03:20 -05:00
Joel Nothman 39c34178d8 DOC/COSMIT clean up according to review 2014-12-25 14:22:41 +11:00
Joel Nothman 684cfb3151 FIX DBSCAN.fit_predict now also supports sample_weight 2014-12-25 14:22:24 +11:00
Joel Nothman 11569e3f13 ENH support weighted samples in DBSCAN 2014-12-25 14:22:24 +11:00
Joel Nothman 8a240f110d ENH sparse support in DBSCAN 2014-12-25 14:22:24 +11:00
Lars Buitinck 85ae41c648 FIX DBSCAN input validation 2014-07-17 14:31:36 +02:00
Joshua Vredevoogd bc785f8123 DBSCAN BallTree implementation 2013-07-29 22:58:54 +02:00
Andreas Mueller e12c67306e cosmit pep8 2012-12-16 23:28:10 +01:00
Mathieu Blondel 6eec2e651b Even more sklearn.utils.testing. 2012-10-26 00:09:46 +09:00
Andreas Mueller 44ff58a15f COSMIT dbscan test doesn't use fit params 2012-05-05 15:44:24 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00