Commit Graph

74 Commits

Author SHA1 Message Date
Jake VanderPlas a21957e85c rename ensure_symmetric -> test_symmetric 2014-12-29 08:36:25 -08:00
Jake VanderPlas 7794d90471 MAINT: create ensure_symmetric utility function to check matrix symmetry 2014-12-28 21:02:35 -08:00
Aldrian Obaja 1e8bdb859e FIX bug in fit_params assumed to be an array
Fixes gh-3957.
2014-12-15 18:07:05 +01:00
akshayah3 367845cacd Shifted the _check_sample_weight into BaseWeightBoosting class 2014-09-28 20:03:58 +05:30
akshayah3 16bc265ed8 dded tests to test_boosting 2014-09-28 14:58:55 +05:30
akshayah3 11d3696de2 Added make_fit_parameter method 2014-09-27 19:35:13 +05:30
Lars Buitinck 88d473cd23 MAINT move comment to the appropriate place 2014-09-22 11:01:00 +02:00
Lars Buitinck ed0e6d7ae3 DOC multi_output parameter on validation function 2014-08-30 14:22:07 +02:00
Lars Buitinck eeffac663d DOC dtype parameter on validation functions
Fixes #3609.
2014-08-30 13:09:44 +02:00
Andreas Mueller c235c3b566 ENH add allowed_sparse named argument for @ogrisel 2014-07-20 15:31:28 +02:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Andreas Mueller f7549fd2ba Refactor input validation. 2014-07-20 10:40:04 +02:00
Andreas Mueller b080d93b5e ENH don't convert dataframes in grid search and cross-validation 2014-07-18 10:02:14 +02:00
Gael Varoquaux 6e3472bff7 DOC: more comments
Based on @amueller's review
2014-07-17 11:44:08 +02:00
Gael Varoquaux d104a3455b BUG: fix validation bug 2014-07-17 11:44:07 +02:00
Gael Varoquaux 7768a3059b ENH: enable y to only implement the array interface
For instance y could be a pandas' dataframe
2014-07-17 11:44:07 +02:00
Alexandre Gramfort de824b1b1f FIX : allow nd X for cross_val_score (was working in 0.14)
Fixes #3277.
2014-06-15 14:27:08 +02:00
Yung Siang Liau 3f9dff942d FIX: Add allow_nans option to check_arrays
Grid search and cross validation should not panic when seeing NaNs
in the input arrays, because that breaks Imputer.
Fixes #2774 and #3044.
2014-04-13 16:59:52 +02:00
Lars Buitinck deff7160ec FIX safe_asarray to handle LIL, DOK formats 2014-04-06 13:39:18 +02:00
Lars Buitinck c0657ce683 ENH less copying in validation for neighbors 2014-04-06 13:38:45 +02:00
Joel Nothman a786e12ace TST/COSMIT tests/comments for [sparse]center_data
Also removes sparse_std which was redundant
2014-03-30 22:07:48 +11:00
hamzeh c587d4f369 Trivial change in utils.check_arrays from > 2 to >=3 in attempt to rebuild Travis CI 2014-03-11 18:47:52 -04:00
hamzeh a48c51b6e0 Removed unnecessary variable n_dim in utils.check_arrays, removed unnecessary parens in same place 2014-03-11 13:39:17 -04:00
hamzeh eb04ccbc5e Implemented a check for ndim exceeding two in the utils.check_arrays function 2014-03-11 09:55:52 -04:00
Lars Buitinck 5f027f3e6d FIX error message from trees for large inputs
Fixes #2809 (hopefully).
2014-02-15 17:22:16 +01:00
Gilles Louppe 2079732643 FIX: use _assert_all_finite 2014-01-03 09:53:42 +01:00
Gilles Louppe 60a0c2f46c FIX: don't force finite in imputation 2014-01-03 09:49:14 +01:00
Lars Buitinck ef108b0b21 MAINT add authors to validation.py and pairwise.py 2013-10-12 20:09:41 +02:00
Lars Buitinck 2fb55da670 BUG duplicate finity check in input validation 2013-09-04 18:36:40 +02:00
Philippe Gervais 7fac2038dc Small fixes 2013-08-28 09:20:43 +02:00
Philippe Gervais e0011e4bd6 [BUG] safe_asarray() converts sparse matrices dtype
When called with a dtype kw argument, utils.safe_asarray() would
not change the dtype of a sparse matrix. This has been fixed.

Unit tests have been created for safe_asarray().
2013-08-27 10:28:27 +02:00
dengemann 83f48e4df1 FIX: performance.rst doctest 2013-08-25 11:16:21 +02:00
dengemann c9ff080ffa FIX: move inline comment to its right place 2013-08-25 11:16:21 +02:00
dengemann 7808e09d76 FIX: proper doctest 2013-08-25 11:16:21 +02:00
dengemann b86f3d5208 ENH: add new Warning class, improve tests, update docs 2013-08-25 11:16:21 +02:00
Gael Varoquaux 652a8735aa ENH: add a new DataConversionWarning
for implicit conversions such as raveling the y
2013-07-28 12:10:45 +02:00
Andreas Mueller 0292f14699 Try to raise and test warnings. 2013-07-28 12:10:45 +02:00
Andreas Mueller 8b54e23370 DOC adjust docstring as suggested by @gvaroquaux 2013-07-27 15:19:32 +02:00
Andreas Mueller 0c82974f7c FIX/ENH make StandardScaler convert int input to float and warn about it, instead of warning and rounding for dense and crashing for sparse. 2013-07-27 15:19:32 +02:00
Andreas Mueller d8f90d137d use column_or_1d, move it to utils 2013-07-26 17:16:27 +02:00
Andreas Mueller 1cc11479ae fix make ``make_y_1d`` save for lists. 2013-07-26 17:16:27 +02:00
Andreas Mueller 1c133e8eb5 ENH add "make_y_1d" to utils, use it in estimators where needed. 2013-07-26 17:16:26 +02:00
Nicolas Trésegnie b86071b403 Missing value imputation 2013-07-25 15:57:06 +02:00
Nicolas Trésegnie cec3061b94 Imp readability 2013-07-24 18:04:54 +02:00
Nicolas Trésegnie 5bba0a845f Add a copy parameter to safe_asarray() 2013-07-24 17:29:52 +02:00
Nicolas Trésegnie 043aaa1c82 Fix as_float_array behaviour when copy=True 2013-07-23 14:20:11 +02:00
Lars Buitinck 3840fecd7a ENH order *does* matter for sparse matrices 2013-07-11 11:50:23 +02: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
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Lars Buitinck 57b86fc434 P3K use six.string_types and six.PY3 2013-02-03 20:12:42 +01:00