Commit Graph

122 Commits

Author SHA1 Message Date
Olivier Grisel 54f483aafa FIX #2986: ZeroDivisionError in LinearRegression on sparse data 2014-11-14 12:51:43 +01:00
Arnaud Joly c5fdee4e6a MAINT add a deprecation version 2014-09-22 09:57:10 +02:00
akshayah3 c57e6ed6c7 PEP8 fixes 2014-09-19 20:10:29 +05:30
akshayah3 701a87fcfe Refactored some logic code 2014-09-19 19:34:50 +05:30
akshayah3 da646701f9 Added seperate tests 2014-09-19 19:06:29 +05:30
akshayah3 ef7169afd7 Added tests 2014-09-19 16:56:30 +05:30
akshayah3 077a1ee099 Fixed a failing test in the doc 2014-09-19 16:03:42 +05:30
akshayah3 4f2ff2dd7a Small PEP8 fix, n_jobs attribute is compatible with both fit method and the constructor 2014-09-19 15:32:06 +05:30
akshayah3 25c03a7ff8 Added Deprecation warning 2014-09-19 14:39:35 +05:30
Akshay dc3b00dfc0 Removed n_jobs parameter from the fit method and added it to the constructor 2014-09-19 09:07:34 +05:30
Arnaud Joly 50fea077e1 DOC document copy_X parameter from LinearRegression 2014-09-17 16:43:05 +02:00
Thomas Unterthiner 52adb5cae7 ENH Add 'axis' argument to sparsefuncs.mean_variance_axis 2014-09-03 13:47:48 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10: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
Manoj-Kumar-S a015c4aa73 FIX: ENetCV and LassoCV now accept np.float32 input 2014-05-22 14:54:29 +05:30
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
Manoj-Kumar-S 785e3efd67 ENH: Refactoring and optimisation of sparsfuncs.pyx 2014-03-26 21:08:01 +05:30
Manoj-Kumar-S 8ff19bd4bd Preserve CSR storage format when input is CSR in sparse_center_data 2014-03-22 23:19:22 +05:30
Lars Buitinck 23b3cc2eb5 MAINT drop support for SciPy < 0.9
TODO: get rid of solve_triangular. Just replacing it by scipy.linalg's
breaks OMP and least-angle regression.
2014-03-02 20:13:57 +01:00
Manoj-Kumar-S 685985164a FIX: Normalize=True 2014-01-26 20:23:54 +01:00
Lars Buitinck 60e91f5902 BUG oops, *safe_* asarray 2013-09-13 17:24:28 +02:00
Lars Buitinck 5ae399f140 ENH: don't call astype when a copy is not needed
See #2206. This doesn't fix all of the cases.
2013-09-13 17:07:06 +02:00
Lars Buitinck a8f5b04e1c DOC correct/copyedit linear model docstrings
Many models actually support sparse matrices at predict time, but
did not advertise this.
2013-07-26 12:24:58 +02:00
Alexandre Gramfort e4172212aa use pre_fit in OMP 2013-07-26 09:50:53 +02:00
Alexandre Gramfort 1c784b9253 ENH : massive refactoring of CV models in coordinate descent. Now the algo core is in path functions 2013-07-23 17:23:13 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Jaques Grobler 65b19245bd fixed typo 2013-05-07 17:47:07 +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
Lars Buitinck 01801886b2 ENH multiclass probability estimates for SGDClassifier
Fixes #1814.
2013-03-30 12:33:33 +01:00
Andreas Mueller 21ba76d4a4 DOC some sphinx / rst fixes 2013-03-10 18:45:23 +01:00
Lars Buitinck 6bf4c90c5d ENH sparsify method for L1-reg linear models
Currently implemented on LinearSVC, LR and SGD.
2013-02-23 12:11:56 +01:00
Peter Prettenhofer e6c85a36a6 decision_function forces dense output (in the case of sparse coef_) 2013-02-22 11:03:55 +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 e52e24706f COSMIT pep8 2013-01-21 21:20:21 +01:00
Gael Varoquaux 83a91519b5 BUG: Ridge: sample_weights in intercept 2013-01-20 19:16:19 +01:00
Andreas Mueller 9bbca58343 DOC cosmit fix column span alignment errors. 2013-01-19 15:45:27 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Anze c63b7a1f55 P3K: Fixed imports. 2012-11-14 07:22:38 +01:00
GaelVaroquaux fde726c751 DOC: n_responses -> n_targets
For consistency
2012-11-09 17:57:07 +01:00
GaelVaroquaux 970f8b2148 DOC: LinearRegression document the shape of coef_ 2012-11-09 17:43:11 +01:00
Lars Buitinck 9423e9c808 DOC various typos and other minor stuff 2012-10-11 11:26:22 +02:00
Lars Buitinck dc943722de COSMIT refactor linear classifiers
Factored out the common code to LinearSVC, LogisticRegression, Perceptron
and SGDClassifier into a LinearClassifierMixin.
2012-09-17 21:06:36 +02:00
Alexandre Gramfort 48687a77a4 ENH : add support for multitarget in sparse enet + simplify input checking 2012-09-02 23:16:52 +02:00
Lars Buitinck 7c8f435469 COSMIT move BaseSGD to its only place of usage 2012-08-01 15:25:36 +02:00
Andreas Mueller bab0539d37 ENH make LinearModel and LinearModelCV abstract base classes 2012-06-26 14:16:04 +02:00
Mathieu Blondel fb714df433 Fix #904. 2012-06-13 13:26:02 +09:00
Immanuel Bayer fae2f13849 move sparse_center_data to linear_model.base 2012-06-09 11:23:43 +02:00