Commit Graph

56 Commits

Author SHA1 Message Date
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 abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
trevorstephens 7c50e6c8eb various docstring fixes for web docs 2014-11-30 17:59:42 -08:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Gael Varoquaux e42ecd1466 ENH: transformers work on non ndarray subclasses 2014-07-17 11:44:08 +02:00
Andreas Mueller d146d23d93 Catch ConvergenceWarning in RandomizedL1 2014-07-16 15:55:09 +02:00
Lars Buitinck cdd2279c09 ENH fix astype usage to prevent copying
Removed where possible; using copy=False (from utils.fixes) where needed.

Also some C integer type fixes to gradient boosting.
2014-06-18 11:01:28 +02:00
Andrew Ash 57f906f63c Typo: thepath -> the path 2014-04-21 11:26:00 +01:00
Lars Buitinck c997cdee9f COSMIT pep8 + full stop police
metrics/tests/test_score_objects.py made stricter by replacing . with \.
in regular expressions.
2014-02-01 15:28:53 +01:00
jnothman a36c72a8be DOC fix documentation to match default value 2014-01-20 10:43:30 +11:00
Denton Cockburn fc7aeee8d6 DOC missing stuff in randomized_l1 module
Fixes #2092.
2013-06-30 14:17:46 +02:00
Jaques Grobler 89f29ba8da DOC Fix references to missing examples 2013-05-22 11:13:59 +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
Mikhail Korobov eae18a3784 PY3 fix metaclasses. See #1829. 2013-04-04 01:07:20 +06:00
Andreas Mueller a1d4d184fe COSMIT pep8 2013-04-02 13:30:55 +02:00
Lars Buitinck cdb9ef2d58 COSMIT prevent a copy in randomized LR
Also remove some superseded Py3 compat code.
2013-03-17 12:30:17 +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
Lars Buitinck 57b86fc434 P3K use six.string_types and six.PY3 2013-02-03 20:12:42 +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
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Andreas Mueller a06c367ba2 ENH sparse matrix support in randomized logistic regression 2012-10-16 14:34:48 +02:00
Andreas Mueller 2ec38b31e1 ENH rudimentary testing of tranformer objects 2012-09-01 18:25:05 +02:00
Andreas Mueller 1aaa7ac140 TST check that transformers fail gracefully on sparse input 2012-08-26 16:01:33 +02:00
Andreas Mueller 66d00f4748 MISC trying to remove scale_C 2012-05-05 21:57:04 +02:00
Andreas Mueller 667ef37714 DOC move references from Notes to References section in docstrings 2012-03-04 15:16:51 +01:00
GaelVaroquaux b81b25eb16 Faster hierarchical cluster for very dense trees
On the specific example on which I am working this change went from
26.11s to 0.86.
2012-02-25 21:02:45 +01:00
GaelVaroquaux 2722feab0e ENH: parallel in lasso_stability_path 2012-02-06 16:32:19 +01:00
GaelVaroquaux 71fb671c10 MISC: fix broken link to example 2012-02-06 12:18:21 +01:00
Andreas Mueller 2588a3cd06 DOC more fixes in Docs 2012-01-31 21:55:31 +01:00
Andreas Mueller a77f9edfee DOC fix sphinx errors 2012-01-31 21:40:17 +01:00
GaelVaroquaux a882bedcc3 MISC: address @ogrisel and @mblondel's comments 2012-01-31 18:11:05 +01:00
Alexandre Gramfort 023d8e3366 pep8 2012-01-31 18:10:43 +01:00
Alexandre Gramfort 41a48638ec ENH : early stopping in lasso_stability_path (faster) 2012-01-31 18:10:43 +01:00
GaelVaroquaux 2b1df1fb19 ENH: grid in terms of alpha/alpha_max
And rework example
2012-01-31 18:10:43 +01:00
GaelVaroquaux e1dacc6f1d BUG: parameter was not set right 2012-01-31 18:10:42 +01:00
GaelVaroquaux d99e27af97 MISC: inherit from BaseClassifier 2012-01-31 18:10:42 +01:00
Alexandre Gramfort 6fccfef007 MISC: removing one XXX 2012-01-31 18:10:42 +01:00
Alexandre Gramfort b1ab2ce133 ENH : adding support for multiple regularization parameters in RandomizedLinearModel 2012-01-31 18:10:42 +01:00
Alexandre Gramfort c3a2faad3b ENH : center y too in _randomized_lasso 2012-01-31 18:10:42 +01:00
Alexandre Gramfort 45ae9a9a24 ENH : fix docstrings + add func missing reference 2012-01-31 18:10:42 +01:00
Alexandre Gramfort 331aa5ba6b ENH : addressing @ogrisel comments (PEP257, naming, see also) 2012-01-31 18:09:09 +01:00
Alexandre Gramfort 53b003ddb8 cosmit in doc 2012-01-31 18:09:09 +01:00
Alexandre Gramfort 66d7b26d1c cosmit in doc + pep8 2012-01-31 18:09:08 +01:00
Alexandre Gramfort 815725e33f typos 2012-01-31 18:07:07 +01:00
Alexandre Gramfort b275030bdb ENH : adding sample_fraction to lasso_stability_path + add to doc 2012-01-31 18:07:06 +01:00
Alexandre Gramfort 19331b5ae3 DOC : adding doc for Randomized sparse linear models + fix test 2012-01-31 18:07:06 +01:00
Alexandre Gramfort 0af96c00cd STY: s/a/scaling + adding docstring 2012-01-31 18:06:15 +01:00