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
Andreas Mueller
ad019b600d
DOC: Corrections and additions to the dataset docs. Also more detailed docstrings
...
for the functions loading the data.
2011-12-18 10:47:58 +01:00
Andreas Mueller
205642899e
FIX: typo in with statement
2011-12-16 00:28:00 +01:00
Lars Buitinck
1ec01bc95d
COSMIT a few more easy cases of with open syntax
2011-12-12 16:40:26 +01:00
Andreas Mueller
ff3f814a1b
COSMIT pep8 whitespace
2011-11-20 21:16:52 +01:00
Lars Buitinck
3bde2bf97b
ENH accept matrix input throughout
...
Simple solution: replace np.asanyarray with np.asarray throughout.
Also, use utils.as_float_array where appropriate.
2011-10-21 13:51:12 +02:00
Olivier Grisel
f3d3fd1432
ENH: make load_files use a fixed shuffling of the samples
...
We are trying to have a default behavior that does not confuses
unsuspecting users:
- Random shuffling with different ordering between 2 consective calls
is unexpected.
- No shuffling is bad to since it will break critical assumptions of
online/minibatch estimators.
2011-09-30 10:29:51 +02:00
Gael varoquaux
c4f32dc7b0
DOC: proper docstring for load_sample_image
2011-09-25 22:56:30 +02:00
Fabian Pedregosa
57b9fd3fe5
Comment tests that depend on PIL.
...
This is ugly, but I don't want to release with failing tests.
Also, I can't use `doctest: +SKIP` because it fails when run through
sklear.test().
2011-09-19 16:09:10 +02:00