Commit Graph

38 Commits

Author SHA1 Message Date
Gabriel Stefanini Vicente ffa0898d5a
API Add data_transposed argument and warning to make_sparse_coded_signal (#21425)
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-22 16:01:42 +01:00
victoirelouis 2a4b40a0a4
Doc make make_sparse_coded_signal pass numpydoc (#22817)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-21 21:55:33 +01:00
Dea María Léon 322e92d48b
DOC corrected docstring on make_classification (#22797) 2022-03-14 09:38:20 -04:00
cdrig 9b1978d04f
DOC fix the docstring of sklearn.datasets._samples_generator.make_biclusters (#22790) 2022-03-13 17:44:12 +01:00
msabatier 887e9f7487
DOC make_regression sample_generator (#22784)
* fix sklearn.datasets._samples_generator.make_multilabel_classification doctring

* fix make_regression sample generator numpydoc
2022-03-12 17:21:20 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Maxwell 3d0a98d776
PERF optimize memory usage in datasets.make_s_curve (#22479) 2022-02-14 10:57:59 +01:00
Maxwell 0de3b0d1ea
ENH reduce memory usage in `make_blobs` (#22412)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-02-10 14:40:59 +01:00
Ankit Sharma 6440856fbb
DOC Ensures that make_checkerboard passes numpydoc validation (#22390) 2022-02-06 17:47:01 -05:00
Meekail Zain 9f96d42e39
ENH Replaced RandomState.rand with equivalent uniform (#22327) 2022-02-01 17:09:38 -05:00
Ankit Sharma 7861a4cb07
DOC Ensures that make_blobs passes numpydoc validation (#22342) 2022-02-01 15:23:05 -05:00
Dev514 46d914349d
DOC Ensures that make_hastie_10_2 passes numpydoc validation (#22333) 2022-01-29 17:17:02 -05:00
Dev514 bd60c82077
DOC Ensures that make_sparse_spd_matrix passes numpydoc (#22332) 2022-01-29 16:58:17 -05:00
Meekail Zain 254ea8c453
ENH Replaced RandomState with Generator compatible calls (#22271) 2022-01-28 15:49:34 -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
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
mathschy 4bc4d23d02
ENH Use check_finite=False in sklearn.datasets (#18845) 2020-11-18 12:44:40 -05:00
Nicolas Hug 5309179bf8
DOC minor update to make_classification about flip_y (#18720) 2020-11-01 13:33:01 +00:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Ram Rachum 61ec6b9b79
MNT Use raise from in 19 modules (#17835) 2020-08-25 08:57:29 +02:00
Frans Larsson e2ed74b734
DOC fix docstring for datasets module following doc guideline (#18241) 2020-08-23 09:56:03 +02:00
Jin Li 0a35cf18df
DOC Changed Doc to replace "optional" with "default" (#17982)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-07-30 15:15:51 -04: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
Michael 77688126df
DOC update the default in datasets and impute modules to follow guideline (#17512)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-15 15:44:07 +02:00
Lucy Liu 689e6fc4f6
DOC Fix formatting in docstring of make_moon (#17528) 2020-06-09 13:33:10 +02:00
Nicolas Hug 226e5c478d
MNT Use Vt instead of V as returned by svd() (#17100) 2020-05-05 19:52:07 +02:00
Adrin Jalali 1ba06518c5
API make load_* args in datasets kwarg only (#16719)
* API male load_* args in datasets kwarg only

* more loaders

* pep8

* fix test_omp usage

* fix some usages

* Update sklearn/datasets/_samples_generator.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-27 14:41:35 -04:00
Alex Liang 7ede0285db
DOC add detail about flip_y parameter in make_classification (#17049) 2020-04-26 16:04:23 -04:00
Ekaterina Borovikova 4755ae76d2
DOC Add versionchanged and versionadded for v0.20 (#16199)
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Venkatachalam N ac9c3e1d33 ENH adding return_centers param in make_blobs (#15709) 2020-01-22 22:10:39 +08:00
Guillaume Lemaitre cb86aae1ed
DOC improve random_state docstring of datasets module (#16057) 2020-01-08 18:52:31 +01:00
Rushabh Vasani 11147a13ed Argument validation in make_multilabel_classification() (#16006) 2020-01-04 18:35:25 +01:00
Maciej J Mikulski e94b67a4d3 ENH Allow two-element tuple as n_samples argument in make_circles and make_moons (#15707) 2019-12-08 04:51:31 -06:00
Kesshi Jordan 084a35158a DOC clarified documentation on flip_y for make_classification (#15465) 2019-11-02 19:25:42 +01:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00