Commit Graph

18 Commits

Author SHA1 Message Date
Gauthier I 5856205cce
Increase speed plot_birch_vs_minibatchkmeans.py (#21703)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-11-19 09:45:30 +01:00
Dimitri Papadopoulos Orfanos d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples (#21307)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
EL-ATEIF Sara 28fa8972d3
DOC rename Birch to BIRCH in docs (#19368) 2021-02-06 09:54:47 +00:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
Hanmin Qin dd3b705f7b MNT Unused imports in examples 2018-10-02 17:12:19 +08:00
Aarshay Jain 1d4e18a1a7 [MRG + 1] 10 more examples fixed with matplotlib 2.0 updates (#9030)
* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
2017-06-21 16:04:53 +02:00
MechCoder 54e7f886ce Rename global_clusters to n_clusters again 2014-12-05 14:07:17 +01:00
MechCoder 767bf266d5 API: Rename n_clusters to global_clusters 2014-12-05 14:07:16 +01:00
MechCoder b01e21e1b2 Made the following changes.
1. Update doc and whatsnew.rst
2. Fix coloring
2014-12-05 14:07:16 +01:00
MechCoder 129f371f85 DOC: Modification to the documentation of threshold 2014-12-05 14:07:16 +01:00
MechCoder 000c9b199b Made the following changes
1. Remove call to KNeighborsClassifier
2. Set default branching_factor to 50
2014-12-05 14:07:16 +01:00
MechCoder abc78088b9 Made the following changes
1. Fix condition for checking threshold.
2. Fix the global clustering by remapping the samples to the
   subcluster_centers.
3. Add tests for threshold.
4. Minor doc and cosmits.
2014-12-05 14:07:16 +01:00
MechCoder a4e7ff3da1 DOC: Update documentation of _CFNode 2014-12-05 14:07:16 +01:00
MechCoder 64a4a1181f Made the following changes
1. Inherit from BaseEstimator to enable pretty printing
2. Add transform function
2014-12-05 14:07:16 +01:00
MechCoder 08d3dfef4a STY: Cosmits in documentation 2014-12-05 14:07:16 +01:00
MechCoder 46f29519ff ENH: Sparse matrix support 2014-12-05 14:07:16 +01:00
MechCoder dcfdf6c7ce ENH: Added example to compare birch and minibatchkmeans 2014-12-05 14:07:16 +01:00