Loïc Estève
ae70c555ce
Fix reading of bunch pickles
...
that have been generated with scikit-learn < 0.17
2016-01-26 15:16:01 +01:00
Loïc Estève
f63ba1d963
MAINT use super rather than calls to base class methods
2015-10-22 15:00:43 +02:00
Raghav R V
a87011262a
FIX precision to float64 across the codebase
2015-10-16 11:20:29 +02:00
Olivier Grisel
69831da6bd
ENH utility to have distinct dataset .pkl filenames
2015-10-07 15:05:39 +02:00
Ishank Gulati
c8406fbfcb
Breast cancer dataset added
2015-10-01 16:47:01 -04:00
Andreas Mueller
0650d5502e
DOC adding backlinks to docstrings
2015-06-03 00:24:04 -04:00
jfraj
e4b9ff6c98
Adding test to ensure bunch consistency after pickle
...
Updated Bunch getattr definition to raise the appropriate error
(should raise Attribute error not KeyError)
See issue #4600
2015-04-16 18:25:13 -04:00
jfraj
4161d5570e
Improving Bunch Class to ensure consistent attributes
...
Adding set/getattr methods that fill/query the same thing as `bunch[key]`.
Add test for a non-regression bug in fetch_20newsgroups.
2015-04-15 19:04:47 -04:00
Andreas Mueller
c970fb51e7
COSMIT spelling
2015-01-15 15:09:35 -05:00
Raghav R V
88555987cc
PEP8 Fix E101, E111 errors and W191, W293, W293 and W391 warnings.
2015-01-08 04:28:24 +05:30
Calvin Giles
dd9e512ddb
Changed f=open() to with open() as f to eliminate ResourceWarnings. Fixes #3410 .
2014-08-31 14:44:11 +01:00
Lars Buitinck
56057c9630
MAINT remove deprecated code
2014-07-23 16:19:40 +02:00
Lars Buitinck
cc2eb2344c
FIX wrong parameter name in deprecation warning
2014-06-08 14:26:56 +02:00
murad
ba352bfd06
open iris files with statement to avoid ResourceWarning
2014-04-16 15:23:58 -04:00
James Yu
71cba016ab
typo
2014-03-17 15:35:41 -05:00
Michael Hanke
4c370a7357
BF: load_boston() return 13 features, but 14 feature names
...
Last column has the target value, hence only report first 13 names.
2014-02-17 15:24:35 +01:00
Erik Shilts
b0abd2f75a
DOC Remove target_names from boston dataset object description
2014-01-02 11:34:47 -08:00
Lars Buitinck
00871e3788
DOC typo
2013-08-10 12:47:13 +02:00
Nelle Varoquaux
0498af7d31
DOC better deprecation warning messages.
...
The charset parameter has been replaced by encoding and the charset_error by
decode_error.
2013-07-26 10:14:45 +02:00
Nelle Varoquaux
88fd230439
MAINT charset is deprecated in favor of encoding
...
closes #2107
2013-07-26 09:30:58 +02:00
Lars Buitinck
41b1f9a909
FIX charset -> encoding in load_files
...
Removed the deprecation of charse_error; this isn't going to be pickled
anyway. Renamed charset_error to decode_error, which I think is more
suggestive of its meaning than encoding_error.
2013-07-04 13:12:58 +02:00
Lars Buitinck
78a80cecb9
Revert "FIX charset -> encoding in load_files"
...
This reverts commit ed204ea96d .
This shouldn't have been on master yet, see #2128 .
2013-07-03 15:00:52 +02:00
Lars Buitinck
ed204ea96d
FIX charset -> encoding in load_files
...
Removed the deprecation of charse_error; this isn't going to be pickled
anyway. Renamed charset_error to decode_error, which I think is more
suggestive of its meaning than encoding_error.
2013-07-03 13:46:11 +02:00
Rob Speer
474d3a00e5
Revise documentation about handling text and bytes.
2013-06-29 14:58:35 -05:00
Rob Speer
cdf6b365b0
Change 'charse_error' to 'charset_error' in load_files.
...
'charset_error' is the name used in the documentation; I changed the
function to match it. It checks and deprecates the old name.
2013-06-29 14:57:18 -05:00
Jaques Grobler
8861833ec9
DOC spellfixes
2013-06-29 16:18:23 +03:00
Robert Layton
dacfd8bd5d
DOC: Replaced all BSD style licenses with "BSD 3 clause"
...
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!
Removed duplicate "3 clause, 3 clause"
Removed trailing period if exists
Fixed some missed licences, still about 50 to do, but those can be automated
Think I got the last of them.
Apparently me and sed have different ideas of regex.
Found a few more
2013-04-30 08:34:46 +02:00
Steven De Gryze
2c9a815050
PY3: ensuring file stream is read as binary
2013-03-19 17:57:12 +01:00
Lars Buitinck
85ec0fd1ae
P3K death to the print statement
2013-02-11 23:11:57 +01:00
Olivier Grisel
1967a0b323
P3K use six to have a python 2 & 3 compatible code base
2013-02-09 18:08:44 +01:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Gael Varoquaux
7c70198efc
FIX: doctests under Windows 64bit
...
Thanks to @bdholt1 for reporting these errors
2012-10-07 23:12:56 +02:00
Lars Buitinck
7896f7281d
COSMIT don't call magic methods directly
...
One tricky case left in doc/sphinxext/gen_rst.py.
Also, don't use relative imports in tests.
2012-07-21 17:38:15 +02:00
Nelle Varoquaux
0619753d3c
Knuth load_cities dataset isn't used anymore
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
62a348406c
Changed dataset from france's mileage to knuth's USA mileage dataset
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
ebaee5ae18
Added more documentation on the cities dataset
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
f568e36b36
Added a new dataset: traveling distances between 17 cities in france
2012-06-01 18:24:20 +02:00
Olivier Grisel
b071cb0abd
FIX: make the 20 newsgroups loader explicitly decode latin1 content
2012-02-28 10:44:31 +01:00
Andreas Mueller
88527861dc
DOC fixed errors in load_images doc and SKIP'ed load_image doctest as was already the case for load_images
2012-01-14 11:28:20 +01:00
Fabian Pedregosa
dfc7c5c0e8
Remove pylab code from docstring and +SKIP those that requie PIL
2012-01-09 15:20:23 +01:00
Vlad Niculae
97bf1ad1a8
Added missing space in PIL warning
2011-12-21 16:56:33 +01:00
Gilles Louppe
c4d40ad087
DOC: Return->Returns
2011-12-20 13:47:16 +01:00
Lars Buitinck
c6613e8943
DOC fix datasets.load_digits example, second attempt
2011-12-19 19:24:03 +01:00
Lars Buitinck
3e75241778
DOC fix datasets.load_digits example
...
Kudos @Gael
2011-12-19 18:38:35 +01:00
Alexandre Gramfort
5fd08bc0e6
Merge pull request #473 from amueller/dataset_whitespace
...
Dataset doc beautification
2011-12-18 09:01:08 -08:00
Andreas Mueller
c17476479b
COSMIT datasets doc using rst tables
2011-12-18 17:58:27 +01:00
Andreas Mueller
de6e8a0ed8
DOC RST field lists don't behave as I want them to:(
2011-12-18 17:21:50 +01:00
Gael Varoquaux
f1d3374794
Merge pull request #471 from amueller/linnerud_renaming
...
Doctest mess
2011-12-18 03:54:05 -08:00
Andreas Mueller
7f544b1ce6
FIX: typo in diabetes docs
2011-12-18 12:45:55 +01:00
Andreas Mueller
04aa47c772
ENH linnerud dataset interface adjusted to be consistent with the others
2011-12-18 12:45:09 +01:00