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
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
88555987cc
PEP8 Fix E101, E111 errors and W191, W293, W293 and W391 warnings.
2015-01-08 04:28:24 +05:30
trevorstephens
7c50e6c8eb
various docstring fixes for web docs
2014-11-30 17:59:42 -08:00
MechCoder
90e5b2a817
DOC: Document criterion_ attribute in LassoLarsIC
2014-10-07 17:13:25 +02:00
Olivier Grisel
78fbd2576f
ENH comment on drop for good not being triggered in the tests
2014-09-11 13:58:24 -07:00
Olivier Grisel
d9067fa295
FIX #3370 : better lars alpha path inequality checks for 32 bit support
2014-09-11 13:58:23 -07:00
Olivier Grisel
cb1798ad1f
FIX more tolerant early stopping for least angle
2014-09-04 19:17:51 +02:00
Lars Buitinck
a228e8a49b
FIX division by zero warning in LassoLarsIC
...
Fixes #3576 . First time I named a variable after myself.
2014-09-04 15:52:47 +02:00
Olivier Grisel
ff948965fa
FIX finfo.eps should be used instead of tiny for equality checks
2014-09-04 10:06:47 +02:00
Olivier Grisel
dbfb25e51e
FIX heisenfailure in test_lasso_lars_path_length
...
Tentative fix for #3370 : random failure under Python 32 bit and
Windows.
2014-09-03 16:17:46 +02:00
Joel Nothman
b3bdb08964
DOC fix formatting of attributes etc. in docstrings
2014-07-28 19:04:59 +10:00
MechCoder
c508965201
MAINT: Fixed a few docstrings and cosmits
2014-07-22 15:09:39 +02: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
Fabian Pedregosa
cc36ba1b15
Cosmetic np.abs -> abs
2014-07-14 18:21:00 +02:00
Fabian Pedregosa
0295fdae71
FIX: check with tolerance on lars_path
...
Hopefully this will fix issue #3370 but I haven't checked.
2014-07-14 18:21:00 +02:00
GaelVaroquaux
9c80d11efc
TST: relax warning class checked in lars
2014-04-02 13:47:41 +02:00
GaelVaroquaux
092b50e44b
BUG: avoid NaNs in arrays passed to scipy.linalg
...
Initializing with "np.empty" creates NaNs every once in a while. Scipy
doesn't like it as of scipy 0.10: we cannot turn of "check_finite"
in this version.
These NaNs are harmless because they are in the upper diagonal, while the
scipy solve_triangular uses only the lower.
2014-03-05 09:59:27 +01: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
Chen Liu
b92b7b4856
handle the case where length of idx in least_angle greater than one
2014-01-31 11:13:28 -05:00
Chen Liu
0832d143c5
handle the case when length of sign changed coefficients is greater than 1 in LARS algorithm
2014-01-29 11:52:26 -05:00
Chen Liu
ffec52be1b
fix converting an array with ndim > 0 to an index DeprecationWarning
2014-01-28 15:00:31 -05:00
Joel Nothman
d0c981fa1d
MAINT deprecate indices=False for cross validation generators
2013-09-10 10:58:24 +02:00
Alexandre Gramfort
cc4b4a1767
DOC : docstring fixes
2013-07-26 09:50:53 +02:00
Alexandre Gramfort
a702a35573
DOC+ENH: fixes in least_angle + one vectorization
2013-07-25 11:29:45 +02:00
Olivier Grisel
16e971c2a1
PY3: refcounting change introduced a regression on the use of resize in LARS
2013-07-13 16:44:07 +02:00
Jaques Grobler
8861833ec9
DOC spellfixes
2013-06-29 16:18:23 +03:00
Arnaud Joly
26a86bd991
DOC return_path argument, prettier references
2013-05-05 14:38:31 +02:00
Jaques Grobler
2ffb484adb
COSMIT pep8
2013-05-04 10:43:39 +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
Stefano Lattarini
67ece78da4
COSMIT various typofixes
...
As suggested by codespell <https://github.com/lucasdemarchi/codespell >
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Vlad Niculae
58b96aa9ff
DOC FIX: multi-target linear model attribute shapes
...
DOC fixes and standardization in least_angle docstrings
More standardization in linear model docs
Conflicts:
sklearn/linear_model/coordinate_descent.py
sklearn/linear_model/least_angle.py
2013-03-19 19:04:11 +00:00
Fabian Pedregosa
d61f36c120
Clarify docstring in lars_path
2013-03-15 10:41:25 +01:00
Lars Buitinck
541987802f
P3K range vs. xrange
2013-02-14 02:05:35 +01:00
Andreas Mueller
7d57b9e50e
COSMIT pep8, removing unused imports
2013-02-11 19:18:01 +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
3485b2f2c3
FIX make error message work when return_path=False. Btw I feel that getting "references" for numbers out of numpy arrays is pretty ugly.
2013-02-01 18:55:19 +01:00
unknown
c44d63cc31
changed wording in linear model docs about Normalized. It was frustrating me haha
2013-01-29 11:32:48 -05:00
Lars Buitinck
07c56d7cd2
COSMIT rm deprecated stuff
...
One more deprecated feature to go in FastICA; not sure how to handle
that one.
2013-01-22 19:45:27 +01:00
Alexandre Gramfort
d24caae9cf
DOC : missing alpha doc in LassoLars
2013-01-19 15:19:19 +01:00
Andreas Mueller
5a6f7b5fec
FIX stupid mistake
2012-12-27 00:28:01 +01:00
Andreas Mueller
966e10c252
COSMIT PEP8
2012-12-22 16:48:17 +01:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Andreas Mueller
8eda5e1c0e
TST document and test verbosity parameter of lars_path
2012-12-15 21:18:10 +01:00
Andreas Mueller
08dff76e2c
ENH input validation only in ``fit`` in LassoLarsIC, check that error is raised.
2012-12-15 21:17:51 +01:00
GaelVaroquaux
1f3f49755a
TST: difficult test for early stopping
2012-11-08 10:39:22 +01:00