Thomas J. Fan
d4aad64b1e
MNT Update to black 22.3.0 to resolve click error ( #22983 )
...
* MNT Update to black 22.3.0 to resolve click error
* STY Update for new black version
2022-03-29 12:04:41 +02:00
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
Dimitri Papadopoulos Orfanos
ee5a1b69d1
DOC, MNT Typos found by codespell ( #22906 )
2022-03-20 19:16:39 +01:00
Thomas J. Fan
a5c90f8abd
MNT Removes externals._pilutil and uses Pillow directly ( #22743 )
2022-03-18 14:52:32 +01:00
Thomas J. Fan
7254664608
MNT Fixes pypy load_files error in test ( #22619 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-26 10:23:18 +01:00
Meekail Zain
fc72ebe61c
ENH Adds file extension selection to load_files ( #22498 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Tony <tony.attalla@mail.utoronto.ca>
Co-authored-by: Kazim <smkazimn@gmail.com>
Co-authored-by: Tony Attalla <39226687+TonyAttalla@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-17 00:15:29 -05:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Rileran
0882bd3cf7
ENH Add a retry mechanism in fetch_openml ( #21901 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-22 14:03:15 -05:00
Guillaume Lemaitre
826032f917
MAINT refactor ARFF parser ( #22026 )
2021-12-21 12:37:33 -05:00
Mandy Gu
379919dc59
ENH Add optional parameter to return raw data for diabetes dataset ( #16605 )
...
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Thomas J. Fan
fb34236ce0
MNT Closes corrupted file correctly in test_fetch_openml_verify_checksum ( #22005 )
2021-12-17 09:05:03 +01:00
Thomas J. Fan
88de60a8fa
TST Do not use cache for fetch_openml tests ( #21806 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-11-30 15:01:10 +01:00
Julien Jerphanion
9521f79b29
TST Handle Connection error in test_load_boston_alternative ( #21178 )
2021-11-18 18:04:21 +01: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
Olivier Grisel
bde42d2399
FIX check skip network in test_load_boston_alternative ( #21563 )
2021-11-05 10:42:06 -04:00
Dimitri Papadopoulos Orfanos
f71c031314
DOC Typos found by codespell ( #21069 )
2021-09-17 19:04:54 +02:00
Guillaume Lemaitre
c592361e53
DOC add warning regarding the load_boston function ( #20729 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-17 09:40:59 +02:00
Jack Liu
5562cc5d58
MNT: replace __file__ with importlib.resources ( #20297 )
...
(compat with pyOxidizer and zipapp)
2021-07-27 13:46:50 +02: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
d6b7b51144
TST Ignore numpy warning for now ( #20327 )
2021-06-23 10:27:47 +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
Thomas J. Fan
9b98add211
FIX Shorten data file names in tests to better support windows ( #20209 )
2021-06-12 15:30:49 +02:00
mlondschien
95f5fb48e1
FIX Fix typo in error message in `fetch_openml` ( #20201 )
2021-06-04 08:08:05 -04:00
Alihan Zihna
1b6a651296
TST Changes assert to pytest style in decomposition, datasets, covariance, compose ( #20104 )
...
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
2021-05-19 20:12:57 -04:00
Thomas J. Fan
2e7009bc69
ENH Better error for corrupted files in fetch_kddcup99 ( #19669 )
2021-03-18 14:15:50 +01:00
Thomas J. Fan
bfd7b58c1d
TST Do not use cache in test_fetch_openml_iris ( #19594 )
2021-03-12 14:48:24 +01:00
Thomas J. Fan
e23dd85147
TST Does not use cache in openml test ( #19534 )
2021-02-23 19:18:41 +01:00
Muhammad Jarir Kanji
4220043782
TST Suppress multiple active versions of dataset warnings in `test_openml.py` ( #19373 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-02-07 12:02:15 +01:00
Amanda Dsouza
80c47b0153
ENH Adds categories with missing values support to fetch_openml with as_frame=True ( #19365 )
...
* MNT Fixes missing value loading into a dataframe from openml
* FIX Include data files
* DOC Adds whats new
* REV Less diffs
* DOC Uses docstring style comment in test
* resolved conflict
* resolve conflict in doc
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-02-06 12:41:27 +01:00
Muhammad Jarir Kanji
70534d67be
FIX Add `with` context manager to open file from OpenML in test file ( #19367 )
2021-02-06 10:19:57 +01:00
Thomas J. Fan
0e546ebe5b
TST Download datasets before running pytest-xdist ( #19118 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-13 17:02:53 +01:00
Thomas J. Fan
eedda91913
BUG Fixes fetch_kddcup99 for return_X_y and as_frame ( #19011 )
2020-12-16 09:58:39 +01:00
Juan Carlos Alfaro Jiménez
8caff3c8d7
MNT Mark test_openml as XFAIL for PyPy ( #18907 )
2020-12-01 08:39:15 +01:00
Guillaume Lemaitre
15cb8695a2
EHN Add parameter as_frame to fetch_20newsgroups_vectorized ( #18262 )
...
* Adding as_frame kwarg to fetch_20newsgroups_vectorized
* Using SparseArray to store the data
* Adding changelog
* Adding pandas version dependency, and more tests
* DOC: rephrasing changelog [skip ci]
* iter
* fix
* update whats new
* apply some suggestions
* Apply suggestions from code review
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
* review
* iter
* iter
* improve test
* TST handle the case that the pickle file is outdated
* iter
* skip if no network
* use fixture available
* address adrin comments
Co-authored-by: Brigitta Sipocz <bsipocz@gmail.com>
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-11-01 10:00:37 +01: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
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
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
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
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
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