Commit Graph

219 Commits

Author SHA1 Message Date
Gael Varoquaux 744d161d37 Merge pull request #5431 from hlin117/nan-targets
[MRG + 2] Add check to regression models to raise error when targets are NaN
2015-10-22 09:36:12 +02:00
Arnaud Rachez 5db2adf93c MAINT Removed deprecated stuff. 2015-10-21 10:24:23 +02:00
hlin117 6df1fe27c1 #5322: Added check for MultiTaskElasticNet and MultiTaskLasso 2015-10-20 10:36:47 -05:00
Raghav R V e3afc0e8c9 MAINT move custom error/warning classes into sklearn.exceptions
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Olivier Grisel 330189376b Merge pull request #5413 from amueller/cleanup_tests
Cleanup tests
2015-10-16 09:10:49 +02:00
Alexandre Gramfort b1619d0532 DOC : update docstring of l1_ratio for E-Net CV classes 2015-10-15 22:32:51 +02:00
Andreas Mueller c66689c4f4 FIX Don't compare arrays to strings!!!! 2015-10-15 16:07:17 -04:00
Olivier Grisel da9a7cd95f Merge pull request #5362 from MechCoder/lasso_fix
[MRG] Lasso and ElasticNet should handle non-integer dtypes for fit_intercept=False
2015-10-12 13:31:33 +02:00
MechCoder 1d5b473705 Lasso and ElasticNet should handle non-float dtypes for fit_intercept=False 2015-10-07 16:49:28 -04:00
Olivier Grisel 808fa6450e FIX consistency of memory layout for linear CD solver 2015-10-04 18:32:05 +02:00
Raghav R V 882c346abd DOC Make cv documentation consistent across our codebase 2015-09-10 09:15:13 +05:30
Andreas Mueller 434ee958aa test for accepted sparse matrices 2015-08-26 22:00:55 -04:00
Arthur Mensch 2ed0c22c17 Added check_input in Lasso for DictLearning performance 2015-08-20 11:36:24 +02:00
Raghav R V cd9eb96942 FIX import column_or_1d from utils.validation directly 2015-08-02 22:44:26 +05:30
Andreas Mueller 77ecf16af4 Merge pull request #4775 from arthurmensch/cd_fast_readonly_array_brainfix
[MRG+1] Read-only data compatibility for Lasso
2015-07-31 10:43:00 -04:00
Andreas Mueller 2afbc0f7e2 FIX make sure y is 1d in svm regressor, add common test for regressor shapes. 2015-07-31 10:34:39 -04:00
Arthur Mensch fead69a4ac Bugfix : type in cd changed for read only memmap compatibility 2015-07-31 12:12:40 +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
Andreas Mueller 188fb11968 COSMIT use consistent shape description in docstring. 2015-04-01 10:24:58 -04:00
Andreas Mueller d89c215013 Add tags to classifiers and regressors to identify them as such. 2015-03-31 19:59:49 -04:00
Loïc Estève a13a5859e8 DOC remove sphinx warnings when generating the doc
and fixes a few other doc problems while I was at it.

The main take-home message is to remember that you need a backslash when
your parameter type description exceeds one line.
2015-03-18 15:49:30 +01:00
Olivier Grisel feceab6f62 FIX test for consistent handling on empty input data 2015-02-26 10:45:06 +01: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 cd931fa6ba Merge pull request #4136 from amueller/test_dtypes_all
[MRG+1] More robust input validation, more testing.
2015-02-13 17:13:59 -05:00
Raghav R V 3ac2da61bd FIX Use resolution instead of min from np.finfo(float) 2015-02-12 02:10:05 +05:30
Raghav R V 5fb923aacc FIX Return np.zeros(n_alphas) when the targets are uniform 2015-02-11 22:58:15 +05:30
Andreas Mueller e3e0827243 FIX check (and enforce) that estimators can accept different dtypes. 2015-02-10 15:37:15 -05:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
MechCoder f79ac7c187 MAINT: Remove deprecation warnings in enet_path and lasso_path 2014-12-27 00:47:32 +01:00
MechCoder 26901932d7 FIX: Bug in sparse coordinate solver in lazy centering 2014-12-26 22:53:52 +01:00
trevorstephens 7c50e6c8eb various docstring fixes for web docs 2014-11-30 17:59:42 -08:00
MechCoder 5e1faefe10 Expose positive option in elasticnet and lasso path 2014-10-16 15:03:20 +02:00
MechCoder 7cb3ba1802 TST: Added tests to test Deprecation warning 2014-10-04 11:13:29 +02:00
Manoj-Kumar-S e915fcc3ab Changed default argument of precompute in ElasticNet and Lasso
Setting precompute to "auto" was found to be slower when n_samples > n_features
since the computation of the Gram matrix is computationally expensive and
outweighs the benefit of fitting the Gram for just one alpha.
2014-10-03 18:25:12 +02:00
Luis Pedro Coelho 5d3b42f3c0 DOC Fix n_jobs documentation
You can take advantage of multiple CPUS for the different folds, not
just different values of l1_ratio
2014-09-24 11:29:28 +02:00
MechCoder ca3ad7b756 FIX: Memory crashes for _alpha_grid in ENetCV 2014-08-18 16:33:55 +02:00
jnothman e1891d801b Merge pull request #3489 from jnothman/attributes-doc
[MRG] DOC fix formatting of Attributes sections in documentation
2014-08-02 20:14:53 +10:00
MechCoder cf4cf60b7e ENH Stochastic Coordinate Descent for ElasticNet & Lasso 2014-07-29 10:23:33 +02:00
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
MechCoder c838c382b9 FIX: Preserve public API by introducing return_n_iter param 2014-07-22 15:09:39 +02:00
MechCoder bbb140aaf0 ENH: Added n_iter_ parameters across all iterative solvers 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
MechCoder 272e9cea93 Added return_n_iter parameter for enet (and lasso) path 2014-07-15 12:17:36 +02:00
MechCoder e65150a24a TST: Added test to check that higher alpha converges faster 2014-07-15 12:17:36 +02:00
MechCoder 947da72a0a TST: Added test to check that warm model converges faster than a cold one 2014-07-15 12:17:36 +02:00
MechCoder d7f4142728 ENH: Return attribute n_iter_ for linear models dependent on the enet solver 2014-07-15 12:17:35 +02:00
Olivier Grisel 1081160f5c Merge pull request #3102 from MechCoder/gil-enet
[MRG+1] Releasing the GIL in the inner loop of coordinate descent
2014-06-16 00:47:38 +02:00