Commit Graph

3383 Commits

Author SHA1 Message Date
adijohar b84d677517
DOC Update plot_partial_dependence.py (#22013)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-17 22:49:04 +01:00
siavrez 845b1fac9e
MAINT accelerate plot_partial_dependence.py (#21768) 2021-12-15 11:09:07 -05:00
Pramod Anantharam f853e78b0a
MNT Speed up of plot_face_recognition.py example (#21725) 2021-12-15 11:05:48 +01:00
eyast dce9782a0d
DOC Fixed an error in plot_digits_last_image (#21972) 2021-12-14 16:52:53 -05:00
Sven Eschlbeck c29fe81218
DOC Increase execution speed of plot_sgd_comparison (#21610)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-09 12:40:55 -05:00
Loïc Estève edc2730c0a
Use as_frame=False for mnist_784 examples to reduce memory usage (#21922) 2021-12-09 10:24:03 +01:00
Thomas J. Fan 77fbdd1c46
FIX Fixes plot_tree from going out of bounds (#21917) 2021-12-08 14:04:06 +01:00
KimAYoung 02b41de8fc
DOC Fix deprecation warning in plot_roc (#21911) 2021-12-07 09:43:05 -05:00
nastegiano eed85ce70c
Accelerate plot_image_denoising.py (#21799) 2021-12-06 14:45:22 +01:00
Maren Westermann cc534f89c5
[DOC] Speed up `plot_gradient_boosting_quantile.py` example (#21666)
Co-authored-by: Maren Westermann <maren.westermann@free-now.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-12-03 00:23:42 +01:00
Sven Eschlbeck f3b36e830b
EXA Update OpenML dataset in plot_gradient_boosting_categorical (#21789) 2021-11-29 07:57:52 -05:00
sply88 f19bf4c406
DOC accelerate plot_gradient_boosting_regularization.py example #21598 (#21611)
* accelerate plot_gradient_boosting_regularization.py example #21598

* speed up by less samples and less trees

* use train_test_split instead of slicing
2021-11-29 13:44:51 +01:00
sply88 64d2fdb4aa
DOC accelerate plot_successive_halving_iterations.py example #21598 (#21612)
* accelerate plot_successive_halving_iterations.py example #21598

* n_estimators back to 20
2021-11-29 13:43:09 +01:00
sply88 832513a7fb
MNT accelerate plot_gradient_boosting_early_stopping.py example (#21609)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-27 18:51:02 -05:00
Paul 35af6dc808
EXA Improve example Importance of Feature Scaling (#21630)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-26 14:56:25 -05:00
siavrez fda5b16b10
MNT Accelerate plot_model_complexity_influence.py example using a subset of dataset for classification (#21742) 2021-11-26 15:25:47 +01:00
siavrez 660e43aec7
MNT speed up plot_nca_classification.py (#21771)
* accelerate plot_nca_classification.py

* change step size to 0.05
2021-11-26 15:24:01 +01:00
Mr. Leu 0852d7bc9c
updated epoch and training size (#21773)
Co-authored-by: Alex Leu <alexcleu@ucla.edu>
2021-11-26 15:23:11 +01:00
siavrez 84c655c156
MNT Accelerate_examples plot_digits_linkage.py (#21737) 2021-11-26 11:04:51 +01:00
Arth 974cd77398
MNT Speedup example plot_select_from_model_diabetes.py (#21738) 2021-11-25 19:15:23 +01:00
Thomas J. Fan deeda9736a
EXA Sort fit times fot score vs fit_times in learning curve example (#21777) 2021-11-25 15:15:31 +01:00
Arth c040ab18d1
DOC speed up example plot_digits_pipe.py (#21728)
* Updated plot_digits_pipe

* Updated plot_digits_pipe with StandardScaler preprocessing
2021-11-25 13:05:54 +01:00
Thomas J. Fan 17345f9d97
MNT Adjust n_jobs=2 for examples and tests (#21780) 2021-11-25 10:49:26 +01:00
siavrez c9e5067cb1
DOC speed up plot_ensemble_oob.py (#21730)
* After 125, more estimators does not help the model and it improves  runtime by almost 50%

* accelerate plot_ensemble_oob.py changed max_estimator to 150 with step=5
2021-11-24 14:14:28 +01:00
Paul 6a693ac4fb
DOC Speed up example on plot_gradient_boosting_categorical.py (#21634)
* sped up the example by reducing the number of columns and the number of iterators, along with code changes

* removed warning filter as it breaks the CI

* change in a comment

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>

* fixed typo

* made code more robust as per PR comment

* applied black

* applied black

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-11-24 14:12:23 +01:00
Sven Eschlbeck fd18ad2396
MNT speed up example plot_svm_scale_c.py (#21625) 2021-11-24 13:51:08 +01:00
siavrez f57a5f9bc0
MNT accelerate example plot_lle_digits.py (#21736) 2021-11-24 08:56:21 +01:00
Zeel B Patel 73d0b4f2d1
ENH Improve `plot_semi_supervised_newsgroups.py` example (#21673) 2021-11-23 17:16:03 -05:00
Guillaume Lemaitre 4f6a28f2eb
FIX/API Fix AIC/BIC in LassoLarsIC and introduce noise_variance (#21481) 2021-11-23 21:32:26 +01:00
Sven Eschlbeck 11222e0666
DOC Changed layer number and learning rate init to make execution of plot_mnist_filters.py quicker (#21647)
* Changed layer number and learning rate init to make execution of example faster

* Update plot_mnist_filters.py

* Update plot_mnist_filters.py

* Update plot_mnist_filters.py

* Update plot_mnist_filters.py
2021-11-23 18:04:45 +01:00
Guillaume Lemaitre 378cddd082
DOC add missing markdown marker in an example (#21740) 2021-11-22 16:03:05 +01:00
Gauthier I 248f6cf315
ENH Impoving execution speed of plot_pca_vs_fa_model_selection.py by … (#21671)
* ENH Impoving execution speed of plot_pca_vs_fa_model_selection.py by dividing by 2 parameters n_samples, n_features, rank

* Update docstring according to @ogrisel 's comment

* ENH Impoving execution speed of plot_pca_vs_fa_model_selection.py by dividing by 2 parameters n_samples, n_features, rank

* Update docstring according to @ogrisel 's comment
2021-11-20 15:34:53 +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
Sven Eschlbeck 7bfa9ccd7c
DOC increase speed in plot_validation_curve.py (#21638)
* Changed n_jobs parameter to increase speed

* Update plot_validation_curve.py

* Update plot_validation_curve.py
2021-11-16 18:52:19 +01:00
sply88 d7ddffe9c1
ENH accelerate plot_randomized_search.py (#21637) 2021-11-16 09:44:40 -08:00
Xiao Yuan 0526c7dd6d
ENH Speed up plot_discretization_classification.py (#21661) 2021-11-16 09:40:02 -08:00
Sven Eschlbeck 90a202d631
ENH Improve speed plot_adaboost_multiclass.py (#21651) 2021-11-16 09:16:58 -08:00
Sven Eschlbeck 263181a96f
ENH Improve speed plot_permutation_tests_for_classification.py (#21649) 2021-11-16 09:14:47 -08:00
Xiao Yuan f695147445
DOC Accelerate plot_t_sne_perplexity.py (#21636) 2021-11-16 15:31:58 +01:00
Sven Eschlbeck 31a75c004d
DOC increase speed in plot_learning_curve.py (#21628)
* Adapted the number of splits

* Update plot_learning_curve.py

* Update plot_learning_curve.py

Added ``random_state=0`` to call of ``learning_curve``

* Update plot_learning_curve.py

Added ``shuffle=True`` for ``random_state`` to make an impact

* Update examples/model_selection/plot_learning_curve.py

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-16 15:07:10 +01:00
Xiao Yuan 53495a2e68
ENH Accelerate plot_mlp_alpha.py (#21648) 2021-11-12 17:23:20 -05:00
Sebastian Pujalte 5131284e19
ENH Add Swiss-Hole dataset and expand example (#21482)
* added hole to swiss roll and expanded example

* Fixed docstring for numpydoc validation

* Changed error from original docstring.

* Added test for swiss hole

Codecov check was failing because there was no test for the addition of the swisshole. I simply expanded the original test to include it.

* Formatting

* Revert "Formatting"

This reverts commit 727505b21b.

* Revert "Added test for swiss hole"

This reverts commit ae788641f1.

* Added test for Swiss Hole

* fixed test

* added changelog

* Set random state when creating the swiss roll in exampple.

* Set random state when creating the swiss hole in exampple.

* Changed test with reccommendation

* Apply suggestions from code review of plots.

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>

* Apply grammar and naming suggestions from code review

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>

* Defined LLE and t-SNE acronyms at beginning

* Linting

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-11-12 09:51:14 -08:00
Himanshu Kumar f223199367
DOC fix typos and code in logistic regression example (#21596)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-11-08 10:32:11 -05:00
Guillaume Lemaitre d5ce9c4966
DOC improve kernel PCA example (#19945)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christos Aridas <chkoar@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-04 08:40:33 +01:00
Guillaume Lemaitre 2a36ea74f9
DOC convert to notebook the basic example introducing GPR (#20360)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-03 18:49:48 +01:00
Guillaume Lemaitre 16e027bfc3
DOC convert to notebook style CO2 GPR regression (#20358) 2021-11-03 18:49:26 +01:00
Guillaume Lemaitre 79fae0cc9d
DOC convert to notebook style Kernel ridge GPR example (#20357)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-03 18:47:34 +01:00
Guillaume Lemaitre 3611c938c9
DOC convert to notebook GPR regression with noise estimation (#20359)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-03 18:45:38 +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