Lars Buitinck
05006c0adf
COSMIT use utils.deprecated as a class decorator
2011-12-11 00:55:39 +01:00
Lars Buitinck
98ead8a340
raise TypeError instead of ValueError in check_arrays
...
Appropriate "when an operation or function is applied to an object of
inappropriate type".
2011-12-10 13:12:50 +01:00
Olivier Grisel
f34db3dac7
PEP257 cosmit
2011-12-10 11:11:10 +01:00
Lars Buitinck
106648f281
drop Python 2.5; document and rm some workarounds for kwargs quirks
...
There might be more of these
kwargs = FOO
fun(*args, **kwargs)
workarounds.
2011-12-10 10:22:15 +01:00
Gilles Louppe
b25c574b76
DOC: Standardized the module documentation format (2)
2011-11-30 11:05:10 +01:00
Andreas Mueller
ff3f814a1b
COSMIT pep8 whitespace
2011-11-20 21:16:52 +01:00
Gael varoquaux
779bc9a465
ENH: don't echo convergence warning on CV grid
...
Because the CV grid explores part of the system where it is
ill-conditionned, some grid points will have some convergence
difficulties. There is no point echoing a warning here.
2011-11-10 23:43:10 +01:00
Fabian Pedregosa
021ae0efcb
FIX: array2d was did not return contiguous arrays with order='C' ...
...
for 1d arrays because of the atleast_2d conversion.
2011-11-07 15:05:37 +01:00
Lars Buitinck
71d524396c
FIX replace np.atleast_2d with new utils.array2d
...
atleast_2d will pass through np.matrix
2011-10-25 15:16:31 +02:00
Lars Buitinck
51d4310c6f
COSMIT rename safe_asanyarray to safe_asarray to prevent confusion
2011-10-21 13:58:08 +02: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
Lars Buitinck
56d26f9fdd
rename overwrite_Foo params to copy_Foo (and inversed their meaning)
2011-09-25 16:52:29 +02:00
Lars Buitinck
ab4098ef44
pep8 sklearn/utils/__init__.py
2011-09-20 15:37:23 +02:00
Fabian Pedregosa
71953c4934
Safer assert_all_finite.
...
Check for Inf/NaN when X.sum() is not finite. This avoids the risk of
false positives because of sum overflow while remaining performant for
the usual case where all values are finite.
This idea is taken from:
57167f7c02
2011-09-20 15:32:48 +02:00
Fabian Pedregosa
ecf4b43e04
Doc: Print --> Issue
2011-09-19 23:33:07 +02:00
Fabian Pedregosa
00cc485246
sklearn.test() does not like doctest that don't print.
...
Put a simple statement in deprecated's docstring.
2011-09-19 23:30:54 +02:00
Olivier Grisel
272af90a34
FIX: make the @deprecated class decorator not break the __repr__ of estimators
2011-09-07 10:56:20 +02:00
Olivier Grisel
ca48f82ab8
s/\bcross_val\b/cross_validation/g
2011-09-06 14:44:32 +02:00
Fabian Pedregosa
ddf4b72109
Move project directory from scikits.learn to sklearn
2011-09-02 12:06:57 +02:00
Fabian Pedregosa
68f27e3790
Revert "Move project directory from scikits.learn to sklearn"
...
This reverts commit fd0d3b879d .
2011-09-02 12:03:18 +02:00
Fabian Pedregosa
fd0d3b879d
Move project directory from scikits.learn to sklearn
2011-09-02 11:38:24 +02:00