Commit Graph

185 Commits

Author SHA1 Message Date
Bryan Woods c3f973b1de FIX supports 64 bit group ID and indexes (#12736) 2019-01-09 09:52:10 +11:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Adrin Jalali 2bd87f6ed8 Remove python < 3.5 from CI (#12746) 2018-12-14 10:53:12 +01:00
Bartosz Michałowski fa98a72dcc MNT Replaced all occurrences of assert_true and assert_false with assert (#12588) 2018-11-28 09:16:26 +08:00
Thomas Fan 14c816e2b8 ENH/FIX openml, Adds retrying if reading from cache fails (#12526) 2018-11-14 17:40:35 +11:00
Hanmin Qin 43e3a02085
MNT Remove unused assert_true imports (#12560) 2018-11-11 11:08:37 +08:00
Yaroslav Halchenko 362cb3bcab TST autoreplace assert_true(...==...) with plain assert (#12547) 2018-11-11 09:05:34 +08:00
janvanrijn 3282d43ccc [MRG] Additional Warnings in case OpenML auto-detected a problem with dataset (#12541)
* added additional warning output

* added features gzip

* added gzipped datasets

* fix file naming

* changed expected warning msg
2018-11-07 10:30:33 -05:00
janvanrijn 03c3af5bde [MRG] Fix fetch_openml when ignore attributes are numeric (#12330)
* modularized data column functionality

* small bugfix

* removes redundant line breaks

* added some documentation on the added fn

* added additional comment on advice of Nicholas Hug

* added test case

* merged master into branch, and added small comments by Joel

* added doc item
2018-10-09 11:25:46 -04:00
janvanrijn afa0694d12 FIX cache of OpenML fetcher (#12246) 2018-10-05 16:36:06 +10:00
Roman Feldbauer 60cf1d62d2 Fix numpy.int overflow in make_classification (#10811) 2018-10-02 14:15:56 +02:00
Joel Nothman 1fafc5c56d TST use urlopen monkeypatch for test_decode_* (#12020)
Avoid requiring internet for test suite. Examples will still run with internet (as long as cache is occasionally cleared).
2018-09-06 09:29:37 +02:00
Thomas Fan 83e73759f0 ENH Uses gzip when caching in fetch_openml (#11830) 2018-09-03 09:03:44 +10:00
Adrin Jalali dd4b528612 [MRG+1] fetch_openml: test data file names resemble the urls (#11846) 2018-08-21 16:13:06 +02:00
vufg 52a36b4d1a ENH fetch_openml should support return_X_y (#11840) 2018-08-19 22:11:16 +08:00
Joel Nothman fc56da504d Deprecate fetch_mldata (#11466)
* API Deprecate fetch_mldata and update examples
* Use pytest's filterwarnings
* Rm unused import
* Remove broken doctest
* Refer user to openml URL
* DOC whatsnew tweak
2018-08-18 19:27:48 +03:00
Adrin Jalali d2d9abb48d ENH fetch_openml: more strongly encourage users to specify version (#11827) 2018-08-16 16:07:44 +03:00
janvanrijn ab82f5739f [MRG] Openml data loader (#11419) 2018-08-15 17:21:20 +10:00
Ronan Lamy 5592a2eda9 [MRG] PyPy support for all but a couple of estimators (#11010) 2018-07-20 14:39:53 +10:00
Roman Yurchak d582e97944 TST Pytest parametrization part2 - cluster, datasets and decomposition modules (#11142) 2018-06-01 10:26:02 +08:00
Nicholas Nadeau, P.Eng., AVS 3e26fc63be MAINT Fixing Typos (#11017) 2018-04-24 09:32:25 +10:00
Chris Catalfo ff3230cdd1 ENH Return_X_y should be available on more dataset loaders/fetchers (#10734) (#10774) 2018-03-25 11:26:06 +08:00
Mohamed Maskani 34f12da6d6 ENH make_blobs takes list/array as n_samples argument (#10577) 2018-02-14 20:58:27 +11:00
jotasi afe540c7f2 Add deprecated scipy image-related functions in externals._pilutil (#10427) 2018-01-18 14:27:59 +01:00
Mohamed Maskani 7182a43a6f [MRG+1] Take over PR #7647 - Add a "filename" attribute to datasets that have a CSV file (#9101)
* add filename attribute for load_iris

* add filename attribute for load_boston

* add filename attribute for load_linnerud
2017-12-04 15:20:21 +01:00
Christian Braune 4bead39f78 FIX make_circles() now works with odd number of samples, test added (#10045) 2017-11-11 23:14:37 +11:00
Sachin Kelkar 9d515e960a Fix 9865: Change code and add test (#9890) 2017-10-10 11:27:38 +02:00
Bastian Venthur 7400775633 [MRG+1] MAINT Replace assert_array_equal with -assert_array_almost_equal where necessary. (#9774) 2017-09-18 19:55:23 +10:00
Nicolas Goix 7e3ad6d3fc [MRG + 1] fix kdd_kddcup99 shuffle logic (#9731) 2017-09-13 16:43:11 +02:00
Joan Massich 76494a1462 [MRG+1] Remove hard dependency on nose (#9670) 2017-09-10 13:21:40 +10:00
Loïc Estève 846313b570 [MRG+1] Deprecate sklearn.utils.testing.raises and remove it from tests (#9660) 2017-09-01 12:53:59 +02:00
Sebastin Santy dc43486806 Remove unused imports (#9235) 2017-07-01 05:57:54 -07:00
Taehoon Lee ebf2bf8107 Fix typos (#9205) 2017-06-23 11:43:46 +02:00
Olivier Grisel a39c8ab75c ENH svmlight chunk loader (#935) 2017-06-16 18:11:47 +02:00
RAKOTOARISON Herilalaina 046141ba5e [MRG+1] Make classification (dimensions > 30) (#9045)
* Change _generate_hypercube into rng.randint

* Improve unit test

* Test if each row is unique
2017-06-08 14:12:57 +02:00
jaroslaw-weber c2b0de59aa [MRG+1] added DESCR attribute in diabetes data (#8840)
*  added DESCR attribute in diabetes data

*  added DESCR attribute in diabetes data (fix flake8)

*  added DESCR attribute in diabetes data (added test)
2017-05-08 10:02:38 +02:00
Tyler Lanigan eb9fe80e50 DOC add example regarding feature scaling (#7912)
also add load_wine to datasets
2017-02-14 00:27:19 +11:00
Josh Levy aea6462b81 [MRG+1] Fixes #8198 - error in datasets.make_moons (#8199) 2017-01-17 13:37:42 +11:00
Andreas Mueller 5c4b1bb231 [MRG+1] Housekeeping Deprecations for v0.19 (#7927)
* remove stuff to be removed 0.19

* more changes

* remove classes from 0.19 whatsnew

* remove _LearntSelectorMixin

* remove ProjectedGradientNMF, load_lwf_*

* minor fixes

* remove more copy from logistic regression path

* remove lda, qda from __init__.__all__

* remove pg solver in nmf from tests etc

* remove class_weight="auto" from tests

* doctest change for decision_function_shape="ovr"

* remove transfrom from tree test, minor fixes to tree tests

* some fixes in the tests

* undo changes in functions which still allow 1d input...

* also allow 1d in scale

* more test fixes...

* last test fixes in forest and tree

* svm default value change doctest failures

* pep8

* remove more class_weight="auto" stuff

* minor cosmetics in docstrings deprecated / removed behavior.

* say that store_covariance has been moved to __init__ in discriminant_analysis
2016-12-09 12:43:38 -05:00
Ralf Gommers 63583fe658 BUG: for several datasets, ``download_if_missing`` keyword was ignored. (#7944) 2016-11-29 12:43:32 -05:00
Konstantin Podshumok 9b2aac9e5c [MRG + 1] [TST] (half-cosmetic) use less nose.tools import to simplify future transition to py.test (#7384)
* use less nose.tools import to simplify future transition to activly developing test suites/runners

* assert_equal -> assert_array_equal in test_feature_hasher_pairs_with_string_values

and one missed ImportError that should be replaced with AttributeError

* test for py2.6 compat with except AttributeError

* fix importing of SkipTest

* force using nose in python2.6 for now

* there was no assert_dict_equal in py2.6. but we can use assert_equal

although failed test will look a little bit ugly

* remove nose imports from doc/datasets
2016-10-07 12:46:52 -04:00
Gael Varoquaux 3d558fa550 Merge pull request #7525 from rickiepark/master
[MRG+2] add feature_name to diabetes dataset
2016-10-07 18:21:35 +02:00
rickiepark 6c8a1b1fcd fix error in test code 2016-10-07 21:46:19 +09:00
rickiepark fd40cbcae3 add a test 2016-10-07 17:55:13 +09:00
Nelson Liu fa6fafcfdb [MRG + 1] fix test_20news_vectorized (#7431)
Run test if dataset has already been downloaded rather than always skipping it
2016-10-05 19:59:26 +02:00
Manvendra Singh 8994d0ef61 [MRG+1] added return_X_y option to toy datasets in sklearn.datasets (#7154)
* added return_X_y support to more dataset loaders

* fix typo

* updated whats_new.rst

* fix indentation for version added tag

* call astype before the branching

* better formatting in whats_new.rst

* better formatting

* updated what's new
2016-08-07 15:07:07 +02:00
Manvendra Singh c98adf7d58 [MRG] load_breast_cancer dataset: added return_X_y option (#7152)
* added return_X_y option to breast_cancer_dataset, tests included

* fix typo

* update whats_new

* removed extra space

* improved whats_new changelog
2016-08-06 11:52:23 +02:00
Ganiev Ibraim 928f72447e [MRG] fix #5269: Overflow error with sklearn.datasets.load_svmlight (#7101)
* fix for #5269, overflow error

* test with long qid added

* What's new section added
2016-08-03 13:53:35 +10:00
Manvendra Singh b8be0198b6 [MRG + 1] load_iris dataset: added return_X_y option (#7049)
* load_iris dataset:added return_X_y option

* Updated return type description

* improved return type description

* Removed extra line

* Added extra line

* Added test sentence.

* Remove sample text

* Fixes

* pep8

* Added version tag

* added entry in whats_new

* fixed extra space
2016-07-29 14:31:36 -04:00
Andreas Mueller e2bc2a756d add __dir__ to bunch for better autocomplete (#7090) 2016-07-27 10:36:36 +02:00