scikit-learn/sklearn/cluster/tests
Albert Thomas 45dc891c96 [MRG+2] Clean common tests (#9340)
* rm dupes

* add check_supervised_y_no_nan in classifier checks: this implies changes for Ridge classifiers

* fix docstrings/comments

* FIX check fitting 1d X array raises error and FIX check fitting 2d array with only 1 feature either works or returns informative message

* modify check_fit2d_1sample in common tests so that it checks fitting either works or returns an informative message

* rm SpectralClustering case for the moment

* uniformize error messages for 1 sample case and fix SpectralClustering with ensure_min_samples=2

* add unit test for mean_shift when n_samples * quantile < 1

* FIX travis with ensure_min_samples=2 in _PLS

* try fix for failing tSNE test

* typos

* take @agramfort's review into account

* sc to fix string in gaussian_process

* add the class that is present to preserve information of previous message in gpc.py
2017-09-26 18:13:15 +02:00
..
__init__.py Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
common.py MANIT: pep8ize to an extent cluster module 2015-01-11 13:22:28 +05:30
test_affinity_propagation.py [MRG+1] Affinity propagation edge cases (#9612) (#9635) 2017-09-05 20:15:55 +10:00
test_bicluster.py Main Commits - Major 2015-10-23 17:28:08 +02:00
test_birch.py [MRG+1] MAINT Replace assert_array_equal with -assert_array_almost_equal where necessary. (#9774) 2017-09-18 19:55:23 +10:00
test_dbscan.py [MRG+1] Fixes incorrect output when input is precomputed sparse matrix in DBSCAN. (#8339) 2017-02-23 21:29:16 +11:00
test_hierarchical.py Pass affinity to fix connectivity in linkage tree (#9357) 2017-07-18 12:24:21 +02:00
test_k_means.py [MRG+1] MAINT Replace assert_array_equal with -assert_array_almost_equal where necessary. (#9774) 2017-09-18 19:55:23 +10:00
test_mean_shift.py [MRG+2] Clean common tests (#9340) 2017-09-26 18:13:15 +02:00
test_spectral.py Remove unused imports (#9235) 2017-07-01 05:57:54 -07:00