Thomas J. Fan
d400723a21
FEA Add DecisionBoundaryDisplay ( #16061 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-29 16:36:31 +02:00
Jordan Silke
f9321be779
DOC convert examples/cluster/plot_mini_batch_kmeans.py to notebook style ( #22900 )
2022-03-19 15:04:32 +01:00
Thomas J. Fan
c176beadf8
MAINT Import from public SciPy in pubilc namespace ( #22875 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-17 11:59:23 +01:00
MarieS-WiMLDS
0fd4e4ff08
chore(notebook_example): improve examples/cluster/plot_feature_agglomeration_vs_univariate_selection.py #22406 ( #22796 )
...
Co-authored-by: Marie <marie.sacksick@cybelangel.com>
2022-03-12 18:40:37 +01:00
Gauthier I
5b04fe66e4
DOC Increase execution speed of plot_cluster_comparison.py ( #21624 )
...
* Reduced n_samples to increse speed
* ENH imporved visuals of Optic method for the first two dataset, still working on the other datasets
* ENH improved visuals for Optic method by tuning parameters
* Linting with black
2022-03-10 17:15:50 +01:00
Gabor Berei
c0f58fae12
DOC: use notebook-style for plot_mean_shift.py ( #22713 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-09 12:01:36 +01:00
Amar pratap singh
28a054c7c3
DOC Update notebook-style example plot_affinity_propagation ( #22559 )
2022-03-09 11:22:58 +01:00
Amar pratap singh
578e3eb532
DOC Update notebook-style example plot_dbscan ( #22568 )
2022-03-03 10:41:52 +01:00
Jérémie du Boisberranger
34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies ( #22642 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
je-kr
8f0dea6159
fix matplotlib warning ( #22631 )
2022-03-02 10:24:02 +01:00
nathansquan
a1a55886a0
DOC: get rid of matplotlib DeprecationWarning in plot_cluster_iris.py ( #22594 )
2022-02-24 22:51:53 +01:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
siavrez
84c655c156
MNT Accelerate_examples plot_digits_linkage.py ( #21737 )
2021-11-26 11:04:51 +01:00
Yar Khine Phyo
13480ff627
DOC Speed up plot_digits_linkage.py example #21598 ( #21678 )
...
* Reduce num of samples in plot-digit-linkage example
* Remove unnecessary random_state
* Remove nudge_images
* Address PR comment, elaborate analysis
2021-11-19 10:27:29 +01:00
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
Andrew Knyazev
f449af888e
ENH add 'cluster_qr' method to spectral segmentation ( #21148 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Victor Minden <victorminden@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-02 11:32:14 +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
Dimitri Papadopoulos Orfanos
5f6e17c084
MNT Remove #!/usr/bin/python shebang in examples ( #21246 )
2021-10-14 18:51:09 +02:00
Thomas J. Fan
70a185ae59
MAINT Enable and run black on examples ( #20502 )
2021-10-07 10:13:00 +02:00
Shao Yang Hong
3f7b5a0f01
DOC Fix interpretation in plot_agglomerative_clustering.py ( #21167 )
2021-09-28 11:06:31 +02:00
Guillaume Lemaitre
fac31e7279
MNT replace if_delegate_has_method by available_if in example ( #20684 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-09-02 16:15:31 +02:00
Thomas J. Fan
81dde3a6e5
STY Ensures that "flake8 ." works ( #20298 )
2021-06-18 15:46:40 +02:00
Thomas J. Fan
d44c7ae8eb
EXA Set random_state=0 in AffinityPropagation example ( #19507 )
...
to prevent warning
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-06-17 20:58:25 +02:00
yoch
c67518350f
DOC use reshape instead of manually reshaping in plot_color_quantization ( #19960 )
2021-05-20 10:27:08 -04:00
putschblos
04534204f2
EXA Fix overlapping titles in clustering overview ( #19506 )
2021-02-22 16:23:55 +01:00
EL-ATEIF Sara
28fa8972d3
DOC rename Birch to BIRCH in docs ( #19368 )
2021-02-06 09:54:47 +00:00
Guillaume Lemaitre
e31b21d01f
EXA use class instead of function for preprocessing in plot_kmeans_digits ( #18657 )
2020-11-13 11:37:50 +01:00
Gordon Walsh
11f9742992
[ENH] Create public kmeans_plusplus including index output ( #17937 )
2020-11-11 15:24:03 +01:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Hirofumi Suzuki
c29092d699
MNT define a parse_version function in sklearn.utils.fixes ( #17670 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-24 13:35:49 +02:00
Maren Westermann
4e8dc9db5c
DOC shorten links in examples/* modules ( #17636 )
...
* shorten links in examples
* fix linting errors
2020-06-20 17:43:14 +02:00
Roman Yurchak
94f2e9c5d8
DOC simpler block delimitation in sphinx-gallery examples ( #17068 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-08 23:23:14 -04:00
Christian Lorentzen
79b0943de0
DOC avoid FutureWarnings for deprecations examples ( #17264 )
...
* MNT keyword only in examples
* MNT pandas 1.0.0 deprectation
See pandas-dev/pandas#23566
* MNT new keyword in 0.23
2020-05-18 18:35:12 +02:00
Tom Dupré la Tour
77659049cc
FIX overlapping titles in plot example
2020-03-03 16:18:15 -08:00
Thomas J Fan
4a95e33e63
MNT Make modules private in sklearn.datasets ( #15307 )
2019-10-27 17:17:23 -04:00
Andreas Mueller
895a21d44c
MRG add dendrogram example ( #14526 )
2019-08-11 13:36:22 +10:00
mbillingr
bbcd153b77
DOC fix cluster ordering in example comparing KMeans and MiniBatchKMeans ( #14509 )
2019-07-30 16:50:54 +02:00
Tilen Kusterle
a8efe00876
EXA Use return_X_y=True with load_digits where appropriate ( #14359 )
2019-07-14 17:10:54 +02:00
Stéphane Couvreur
7166ae8ece
MNT Updated adjusted_mutual_info_score and normalized_mutual_info_score default to 'arithmetic' ( #13814 )
2019-05-09 10:35:32 +10:00
Adrin Jalali
a475594614
FEA OPTICS: add extract_xi method ( #12077 )
2019-04-28 00:11:04 +10:00
Adrin Jalali
40441e86f5
[MRG+1] OPTICS fit uses the selected `extract_method` parameter ( #12087 )
...
* add extract method parameter
* change fancy to sqlnk
* test for invalid extract_method value
* test easy dbscan
* pep8
* add extract_sqlnk
* mention which parameter is used for which extact method
* add tests for extract methods with no params given
* Add the reference for the SQLNK method.
* make extract_optics_dbscan and extract_optics_sqlnk public
* fix references, sync docstrings
* fix more morege conflicts
* reorganize the code and get it closer to what we want
* pep8
* remove sqlnk, make compute_optics_graph public
* pep8
* remove unused reference
* make tests pass
* fix docstrings
* fix removal of removed parameter
* add back min_cluster size, xi needs it
* pep8
* fix docstring issue
* address Hanmin's comments
* remove core_sample_indices_
* fix comment
* pep8
* apply comments, remove example
* add public functions to classes.rst and __init__
* address Joel's comments
2019-03-03 20:38:00 +01:00
Thomas J Fan
db2290ce38
MNT Fixes cross-reference and no reference issues in sphinx ( #13000 )
...
* DOC: Fixes cross references
* RFC: Minimizes diffs
* REV: Removes default-role
* ENH: Process python domain first
* ENH: Support sphinx 1.6.2
* RFC: Only reorder for python classes
* RFC: Adds early exit
* DOC: Uses term for ColumnTransformer
* REV: Removes styling from term
* ENH: Handle no references case
* ENH: Adds RuntimeError
* RFC: Adds runtime error message
* DOC: Adds comment on default_role
* CLN Removes term
2019-02-28 19:17:38 +01:00
surgan12
62d2059804
MNT remove __future__ imports ( #12791 )
2019-02-02 22:05:06 +08:00
Joel Nothman
1a54989ce8
DOC credit multiple authors of new example
2019-01-17 22:19:19 +11:00
Christos Aridas
d2a77d7e78
DOC Add an example of inductive clustering ( #10852 )
2019-01-17 22:16:22 +11:00
Adrin Jalali
69c8967e21
DOC Fix warnings in examples ( #12654 )
...
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Thomas Moreau
d25da1be20
FIX make joblib utils private, and remove mentions of externals.joblib ( #12345 )
2018-11-20 10:53:52 +11:00
Koen
81d2178ed0
EXA calculate number of noise points ( #12428 )
2018-10-23 07:56:53 +11:00
Hanmin Qin
dd3b705f7b
MNT Unused imports in examples
2018-10-02 17:12:19 +08:00
Hanmin Qin
a47e7795f9
EXA Fix plot in plot_optics.py
...
Closes #11849
2018-08-30 22:07:07 +08:00