Commit Graph

24 Commits

Author SHA1 Message Date
Andreas Mueller 7819e182e2 DOC try to be as clear as possible. 2013-01-05 19:59:46 +01:00
Andreas Mueller de9bcc9fdb FIX do checks even if allow_lists 2013-01-05 19:59:46 +01:00
Andreas Mueller 03048ddb5f ENH more logical behavior, better docstring, tests 2013-01-05 19:59:46 +01:00
Andreas Mueller aac12fab1c ENH allow lists in check_arrays 2012-12-21 10:33:48 +01:00
Lars Buitinck fad7143c86 COSMIT refactor input validation code; skip some issparse calls 2012-11-28 01:02:06 +01:00
Andreas Mueller 3c46ebaa6e COSMIT pep8, removing unused imports and recommend ``toarray`` instead of ``todense`` 2012-11-24 20:12:33 +00:00
Andreas Mueller a351355510 ENH add checks for clustering, regressors, transformers 2012-11-10 15:53:57 +00:00
Andreas Mueller af101ccd10 ENH check in all classifiers in fit and predict that input is finite. inspired by #1027. 2012-11-10 15:53:57 +00:00
Andreas Mueller 1406cdfbb7 ENH use the numbers module introduced in Python 2.6 to check for number types.
Fixes 1255.
2012-10-24 18:44:53 +02:00
Andreas Mueller d50c0cb06c COSMIT pep8 2012-10-02 17:31:00 +01:00
Gael Varoquaux 7842748cf7 BUG: copy and keep ordering
This is due to a change in behavior in numpy that now does
not keep the ordering by default when copying.

Fixes #1186
2012-09-28 09:32:03 +02:00
Olivier Grisel 0eca37dc17 cosmit 2012-09-12 22:34:00 +02:00
Alexandre Gramfort e4838831d9 ENH : add copy param to array2d_or_csx 2012-09-02 23:16:52 +02:00
Alexandre Gramfort 2184c4698d ENH : add copy arg to array2d and new atleast2d_or_csr usual for sparse coordinate descent
Conflicts:

	sklearn/utils/validation.py
2012-09-02 23:16:51 +02:00
Alexandre Gramfort b59e1005fc FIX : make as_float_array keep fortran order on dense array when copy 2012-08-21 17:08:47 +02:00
Gael Varoquaux a12bd7bc7c ENH: understandable error message for X sparse 2012-08-10 11:23:00 +01:00
Lars Buitinck 38c3c30207 COSMIT refactor input validation code and tests 2012-07-20 15:18:16 +02:00
Andreas Mueller 1ebcc4a486 COSMIT pep8 2012-05-15 21:18:30 +02:00
Subhodeep Moitra cf46424609 P3K : Convert int type checking to np.integer 2012-05-11 11:21:01 +02:00
Olivier Grisel 106a6bf157 add tests for invalid argument + fixed a type error 2012-02-10 23:12:22 +01:00
Lars Buitinck 263d6c02f7 ENH merge dense/sparse LinearSVC, part 1: no more SparseBaseLibLinear 2012-01-16 17:55:47 +01:00
Andreas Mueller 3a6e490e05 COSMIT pep8 2011-12-23 19:12:52 +01:00
Olivier Grisel 65a47a9741 readd dtype and ccontiguous checks removed by mistake during last conflict resolution 2011-12-21 11:43:02 +01:00
Jake Vanderplas eb248b7bea Move validation utils to their own submodule 2011-12-19 11:15:21 -08:00