Commit Graph

67 Commits

Author SHA1 Message Date
Olivier Grisel f1c5924b36 ENH better error message for estimators with ensure_min_* checks 2015-10-01 14:44:05 +02:00
Raghav R V 882c346abd DOC Make cv documentation consistent across our codebase 2015-09-10 09:15:13 +05:30
Vighnesh Birodkar 2f099334f9 MAINT deprecate 1d input arrays for all estimators
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.

All Scaler classes also throw warnings when 1D arrays are passed.

All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.

Additional tests are also included which check for different 1D array cases.

2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Raghav R V 62325cbb58 MAINT merge _check_cv into check_cv as indices argument is removed in 0.17 2015-06-08 16:37:03 +05:30
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Olivier Grisel f4366d5d36 FIX Gram OMP check_finite on old scipy 2015-05-20 11:38:38 +02:00
Andreas Mueller 211f204767 fix ompcv on old scipy versions 2015-03-18 10:25:01 -04:00
Andreas Mueller cd5166e82f make check_array convert object to float.
fix dtype check, add test. unfriend all multi-output estimators on facebook.

try to fix what is happening to y (by doing nothing to y)

make test work...

Make everything accept object y or say "invalid label"

fix multioutput linear models

add test for sensible error message.
2015-02-15 12:13:41 -05:00
Andreas Mueller e3e0827243 FIX check (and enforce) that estimators can accept different dtypes. 2015-02-10 15:37:15 -05:00
Andreas Mueller c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
trevorstephens 7c50e6c8eb various docstring fixes for web docs 2014-11-30 17:59:42 -08:00
Raghav R V 4a8c7a789c Fixes #3644 2014-11-25 23:24:54 +05:30
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
MechCoder d72ca5974f Added n_iter attribute to OMP (and CV) 2014-07-22 15:09:39 +02:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
lesteve 7236ade3f0 Tidy up by removing unnecessary local variables 2014-07-17 16:32:19 +01:00
lesteve 259936599a Remove 'copy_X', 'copy_Gram' and 'copy_Xy' documentation since these parameters have been removed 2014-07-17 15:23:18 +01:00
lesteve 7d905b8c5a Remove deprecated 'Gram' and 'Xy' parameters from OrthogonalMatchingPursuit.fit 2014-07-17 10:23:28 +01:00
lesteve 0a953a1187 Remove deprecated 'copy_Gram', 'copy_Xy' and 'copy_X' parameters 2014-07-17 09:59:42 +01:00
lesteve 7b69ace3e1 Remove deprecated 'precompute_gram' parameter 2014-07-17 09:47:07 +01:00
Andreas Mueller d12d3132c4 Fix some fun column span alignment errors. 2014-06-07 16:48:48 +02:00
Gael Varoquaux 1b67fe33e5 MAINT: scipy 0.10 and 0.11
linalg.solve_triangular does not have a check_finite keyword argument
2014-03-03 23:51:38 +01:00
Gael Varoquaux dc27992c1a MAINT: remove our solve_triangular
No longer needed, since we depend on scipy >= 0.9
2014-03-03 20:25:33 +01:00
GaelVaroquaux dc8a03e958 BUG: fix convergence check in OMP 2013-11-29 17:52:19 +01:00
Lars Buitinck 9a9b9e85ed DOC+COSMIT: typos, lots of them
Fixes #2102. There's one typo left in joblib which is better fixed
upstream.
2013-09-13 16:29:42 +02:00
Joel Nothman d0c981fa1d MAINT deprecate indices=False for cross validation generators 2013-09-10 10:58:24 +02:00
Olivier Grisel daa051edab Py3 fix 2013-07-26 14:11:39 +02:00
Vlad Niculae 86d7afbd50 FIX OrthogonalMatchingPursuit normalized twice 2013-07-26 12:08:10 +02:00
Vlad Niculae c4df8ed0df FIX respect conventions in OMP init 2013-07-26 09:50:54 +02:00
Alexandre Gramfort 1e408aaaad API : deprecations in orthogonal_mp 2013-07-26 09:50:54 +02:00
Alexandre Gramfort 4ce4863fc7 API : deprecate a lot of extra parameters in OMP object 2013-07-26 09:50:53 +02:00
Alexandre Gramfort e4172212aa use pre_fit in OMP 2013-07-26 09:50:53 +02:00
Alexandre Gramfort bad053852a DOC : more docstring fixes 2013-07-26 09:50:53 +02:00
Vlad Niculae 372ca22492 ENH OrthogonalMatchingPursuitCV estimator
FIX: work with max_iter=1, though it does not make sense

DOC add OrthogonalMatchingPursuitCV docstrings
2013-07-26 09:50:53 +02:00
Vlad Niculae 6f030d90ec ENH add return_path in orthogonal matching pursuit
DOC Clarify docstrings
2013-07-26 09:50:53 +02:00
Joel Nothman f1e9116c30 DOC fix docstring headings 2013-06-13 18:50:30 +10: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
Andreas Mueller a3b55f4eae ENH fix test_estimators_overwrite_params to also test regressors and transformers. Then fix all the regressors and transformers ... meh! 2013-02-11 17:13:25 +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
Andreas Mueller 2f0dd13e4d DOC added comment about default for n_nonzero_coefs. 2012-11-10 15:53:58 +00:00
Andreas Mueller a351355510 ENH add checks for clustering, regressors, transformers 2012-11-10 15:53:57 +00:00
Andreas Mueller 57001002bb COSMIT pep8 2012-10-10 09:38:10 +02:00
Alexandre Gramfort 01d032c482 style + typo 2012-09-02 23:16:53 +02:00
Alexandre Gramfort 9cbdad8afb ENH : simplify handle of copy of Gram and X with array2d in OMP 2012-09-02 23:16:53 +02:00
Vlad Niculae 4575b322c1 Remove sparse_encode_parallel
This was deprecated in 0.10 as far as I can tell.
2012-09-01 20:02:13 +02:00
Mathieu Blondel fb714df433 Fix #904. 2012-06-13 13:26:02 +09:00
Alexandre Gramfort 05e4105d04 typo 2012-05-05 21:35:50 +02:00
Gael Varoquaux 54ebafce49 COSMIT we no longer support Py 2.5
Also, avoid 'from foo import bar' or 'import as' as much as possible
2012-05-05 20:40:36 +02:00
Vlad Niculae 3698317761 Add warnings and clean up tests 2012-05-05 20:40:35 +02:00