Commit Graph

6 Commits

Author SHA1 Message Date
Tilen Kusterle a8efe00876 EXA Use return_X_y=True with load_digits where appropriate (#14359) 2019-07-14 17:10:54 +02:00
Justin Shenk 21eb82dea2 DOC Remove unused function argument `X` from `plot_clustering` function (#11049) 2018-05-02 10:04:45 +10:00
Hanmin Qin 6f7394953b EXA avoid use of matplotlib.cm.spectral which has been removed (#10764) 2018-03-07 16:49:45 +11:00
Leland McInnes 823382995c [MRG+2] Single linkage clustering (#9372)
* First cut at basic single linkage internals

* Refer to correct dist_metrics package

* Add csgraph sparse implementation for single linkage

* Add fast labelling/conversion from MST to single linkage tree; remove uneeded single_linkage.pyx file.

* Ensure existing tests cover single linkage

* Iterating toward correct solution. Still have to get n_clusters, compute_full_tree=False working

* Fix the parents array when we don't get the "full tree"

* Add single linkage to agglomerative clustering example.

* Add single linkage to digits agglomerative clustering example.

* Update documentation to reflect the addition of single linkage.

* Update documentation to reflect the addition of single linkage.

* Provide a more complete comparison of the different linkage methods, highlighting the relative strengths and weaknesses.

* Update docs with a more complete comparison on linkage methods (scale to be determined?)

* Update WhatsNew for single linkage clustering.

* Handle true zero distances by setting them to "epsilon" distances

* Add test for identical points messing with sparse linkage clustering.

* Test all the linkage methods for identical point issues

* Cast precomputed distances to float64 for consistency

* Turn bounds checking off; add docsting warning.

* Make public and private versions of labelling.

* more efficient is sorted check

* Explicit cast to cover all bases
2018-01-22 14:58:17 +01:00
GaelVaroquaux a938b202a3 DOC: Agglomeration clustering docs and examples 2014-02-06 16:55:46 +01:00
Gael Varoquaux cfa55d3e31 DOC: AgglomerationClustering doc and examples 2014-02-06 12:51:42 +01:00