Commit Graph

665 Commits

Author SHA1 Message Date
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Thomas J. Fan cffd98dfb4
TST Makes sure name is correct (#18503) 2020-10-02 11:39:42 +02:00
Thomas J. Fan 328409f8c9
MNT Use fetch_kddcup99_fxt to follow SKLEARN_SKIP_NETWORK_TESTS (#18487) 2020-09-29 17:00:15 -04:00
Albert Villanova del Moral 49ec619232
DOC Fix missing References (#18450) 2020-09-29 15:17:43 -04: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
Roman Yurchak ac8760d089
MNT Use mypy --allow-redefinition + config (#18313) 2020-08-31 19:03:38 -04:00
Guillaume Lemaitre 8bab999e2e
ENH add parameter as_frame in fetch_kddcup99 (#18280)
Co-authored-by: aliang <aliang@air>
2020-08-31 13:45:48 -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
Jiaxiang bdf2ff5763
API Change default value of as_frame in fetch_openml to 'auto' (#17610) 2020-08-15 21:06:41 +10:00
Christian Kastner 5af6561441
TST Change expected result type np.int64 -> np.int (#18089)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-07 08:46:53 +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 cb8f1805a8
TST Default skip network tests (#18002) 2020-07-27 11:19:42 +02:00
Guillaume Lemaitre 36c3c2bf8d
FIX remove pytest warning in dataset/tests/test_common.py (#17828)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-07-12 16:16:25 -04:00
Juan Carlos Alfaro Jiménez df99dfaeed
TST Skip test_common_check_return_X_y if pillow not installed (#17692) 2020-06-26 20:41:37 +02:00
Shashank Singh 1e08459c74
ENH Verify md5-checksums received from openml arff file metadata(#14800)
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-25 20:35:52 -04:00
xavier dupré b0c03d1280
BUG fix SparseCoder to follow scikit-learn API and allow cloning (#17679)
* BUG fix SparseCoder to follow scikit-learn API

* TST check that get_params and set_params work as expected

* address comments

* PEP8

* iter

* Fixes #8675, fix cloning for SparseCoder

* remove spaces

* Update _dict_learning.py

* fix confusing arguments

* remove unnecessary code

* Update test_common.py

* removes spaces

* PEP8

* iter

* fix merge

* ignore a mypy warning

* type: ignore

* remove one deprecated verification

* Update sklearn/decomposition/_dict_learning.py

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>

* Update sklearn/decomposition/_dict_learning.py

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>

* Update sklearn/decomposition/tests/test_dict_learning.py

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>

* test clone produces different id

* review

* add one more test

* lint

* Update sklearn/decomposition/tests/test_dict_learning.py

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-06-25 23:05:19 +02:00
Roman Yurchak 361c052f6d
MNT Add type annotations for OpenML fetcher (#17053)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-25 18:30:27 +02: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
Thomas J. Fan 39760e513f
TST Skip test_covtype if pandas not installed [scipy-dev] (#17682) 2020-06-23 19:20:52 -04:00
Alex Liang 6ef4487c66
EHN Add parameter as_frame to fetch_covtype (#17491)
Co-authored-by: aliang <aliang@air>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-21 01:02:26 -04:00
Guillaume Lemaitre 129588c2db
MNT refactor tests for datasets (#17599)
* MNT refactor tests for datasets

* PEP8

* remove partial
2020-06-16 13:54:23 +02:00
Saurabh Jain 00bc681e10
DOC shorten class links in docstring using tilde (#17470)
* added tilde to bunch of files

* Updated _kde.py

Changed array_like to array-like

* Updated _kde.py

Removed space

* updated _kde.py

Added full stop

* PEP8

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
Brigitta Sipőcz 0885ef0831
DOC minor docstring fix in fetch_california_housing (#17605) 2020-06-15 18:55:52 -07: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
Juan Carlos Alfaro Jiménez bf6023fc77
FIX Fixes deprecation of positional arguments on test_percent10 (#17577)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-15 12:50:18 +02:00
Jiaxiang 77a34290d2
Add as_frame='auto' option in datasets.fetch_openml (#17396) 2020-06-10 09:34:46 +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
Nicolas Hug a35b892522
Fix Mypy issue in _openml.py (#17047) 2020-04-26 14:37:07 -04:00
Joel Nothman a14953aca9
ENH buffer openml stream rather than reading all at once (#16084) 2020-04-26 18:52:47 +02: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
lucgiffon 4bb4856ee8
DOC Change number of classes in lfw_pair documentation (#16761) 2020-03-25 13:15:09 -04:00
Lucy Liu 7733f5e93c
amend breast cancer (#16751) 2020-03-24 09:23:02 +01:00
Roman Yurchak 1cbe59ee06
CI Check for unused imports when linting (#16678)
* Check for missing imports in linting

* Exclude externals

* Remove unused imports
2020-03-12 12:56:35 +01:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Roman Yurchak c3969f43d9
TST Enable california_housing pandas test in cron job (#16547) 2020-03-04 22:33:59 +01:00
maikia dbd7937f7e
DOC improve diabetes dataset description (#16534) 2020-03-04 07:49:47 -05:00
Roman Feldbauer cd622dfb42
MNT Download and test datasets in cron job (#16348) 2020-03-02 00:41:19 -05:00
CastaChick ca78d75e75
DOC Fixed documents that refer to Bunch object #16438 (#16447)
* Added links to utils.Bunch and fixed format of the docstring in datasets

* Added links to utils.Bunch in sklearn.compose

* Added links to utils.Bunch in sklearn.tree

* Added links to utils.Bunch in sklearn.ensemble

* Added links to utils.Bunch in sklearn.inspection

* Added links to utils.Bunch in sklearn.pipeline

* modified docstring of Bunch

* Added links to utils.Bunch to index.rst of sklearn.datasets

* Fixed some docstrings because the lines are too long

* Fixed some points as reviewed.

* Add links and delete 'for more information...'

* Fixed indent

* Fixed forgotten points.

* Fixed some points as reviewed.
2020-02-27 10:04:04 +01:00
Roman Feldbauer 9b39c4c4d2
TST Fix unreachable code in tests (#16110) 2020-02-16 14:41:26 +01:00
Thomas J Fan 87a59309c7
TST Fixes test for California housing (#16389) 2020-02-05 17:50:37 +01:00
wconnell ce91b6aaec
ENH add as_frame functionality for toy datasets (#15980) 2020-02-02 13:18:47 -05:00
maikia 7c8af444ae
DOC improved descrition of the linnerud dataset (#16308) 2020-02-01 13:19:21 +01:00
Vandana Iyer 6d2b7bc6da
Fix User guide description for the Linnerud dataset #16294 (#16297)
2 words - "physiological" and "exercise" were swapped in the description, which has been fixed.
2020-01-30 09:03:53 +01:00
Venkatachalam N ac9c3e1d33 ENH adding return_centers param in make_blobs (#15709) 2020-01-22 22:10:39 +08:00
Adrin Jalali 562c08b7e0 MNT remoe deprecated _refresh_cache usage (joblib related) (#16108) 2020-01-14 09:24:59 +08:00