Commit Graph

76 Commits

Author SHA1 Message Date
Andreas Mueller 3f1b1899c3 CLEANUP remove linear_model.sparse.setup.py 2012-06-12 19:30:41 +02:00
Immanuel Bayer 533729bb84 remove redundant folders in linear_model/sparse 2012-06-08 18:35:33 +02:00
Immanuel Bayer b8ec5c4e86 Revert "remove redundant tests"
This reverts commit 313bf63418.
2012-06-08 13:49:58 +02:00
Immanuel Bayer 3e98b4414b Revert "remove redundant files, functionality has been moved to cd_fast.pyx"
This reverts commit 934f954ff3.
2012-06-08 13:49:37 +02:00
Immanuel Bayer b2815619d3 code removed and deprecated message added 2012-06-07 16:34:37 +02:00
Immanuel Bayer 934f954ff3 remove redundant files, functionality has been moved to cd_fast.pyx 2012-06-07 16:34:04 +02:00
Immanuel Bayer 313bf63418 remove redundant tests 2012-06-07 16:33:15 +02:00
Alexis Mignon 4f8bb77ed5 Made code pep8 friendly. 2012-06-02 00:28:20 +02:00
Alexis Mignon 5d5c07d31c Made code pep8 friendly. Used random state with fixed seed. 2012-06-02 00:27:57 +02:00
Alexis Mignon 33c7633b1e Added test case for warm_start 2012-06-01 09:24:13 +02:00
Alexis Mignon 4e5f811eda Completed docstrings, factorized some tests and added checks on dimensions 2012-06-01 09:23:30 +02:00
Alexis Mignon abbec42017 Added warm restart option and completed docstring 2012-05-31 22:15:52 +02:00
Andreas Mueller 8b24cbdb56 COSMIT pep8 2012-05-29 22:38:42 +02:00
Mathieu Blondel 0e2fbc398c Fix typo. 2012-05-17 13:41:57 +09:00
Alexandre Gramfort 47351dbbef typo 2012-05-16 16:19:49 +02:00
Alexandre Gramfort 81723cc597 adding alexis to authors 2012-05-16 08:10:14 +02:00
Alexandre Gramfort 9a9ad41f34 TST : tesitng intercept_ between dense and sparse 2012-05-16 08:09:09 +02:00
Alexis Mignon 48ba97f13d Removed undeed functions 2012-05-16 07:58:05 +02:00
Alexis Mignon e01dca7d97 Made code pep8 compliant 2012-05-16 07:57:58 +02:00
Alexis Mignon 892b603c06 Modified: in 'center_data' makes a copy only when needed 2012-05-16 07:57:57 +02:00
Alexis Mignon 56d9bc1846 Made the code pep8 compliant 2012-05-16 07:57:20 +02:00
Alexis Mignon fb9d18d2bb Removed duplicate definition of csc_mean_variance_axis0 2012-05-16 07:57:18 +02:00
Alexis Mignon beef9a852c Removed most python function calls 2012-05-16 07:57:16 +02:00
Alexis Mignon 103ff6ad88 Modified data generation so it can generate data adapted to positiveness constraints 2012-05-16 07:57:13 +02:00
Alexis Mignon 4e7bcca545 Modified: uses utility function for sparse csc matrices 2012-05-16 07:57:11 +02:00
Alexis Mignon c6acacdd33 DOUBLE does'nt stand for a dtype 2012-05-16 07:57:07 +02:00
Alexis Mignon 963cd8ae56 Made code pep compliant 2012-05-16 07:57:05 +02:00
Alexis Mignon 9a1d501aba Corrected bad comment and the use of a typedef 2012-05-16 07:57:01 +02:00
Alexis Mignon 5b73af1fe6 Added fit_intercept for sparse ElasticNet as well as corresponding test 2012-05-16 07:56:58 +02:00
Alexis Mignon 3fd759f03c Made the code pep friendly 2012-05-16 07:56:56 +02:00
Alexis Mignon f6c62bc093 Added positive constraints for the elastic net 2012-05-16 07:56:52 +02:00
Andreas Mueller 3e5f2e5e08 ENH backport "assert_less" and "assert_greater", rename "assert_lower" and use it everywhere :) 2012-05-06 15:43:29 +02:00
GaelVaroquaux 10f18e6655 Revert "ENH: small speedups in coordinate descent"
This reverts commit d434a39e76.

Apparently it creates numerical instabilities on some systems.
2012-02-25 19:18:01 +01:00
GaelVaroquaux d434a39e76 ENH: small speedups in coordinate descent
speedup of only ~ 5%, but for little cost
2012-02-25 19:04:21 +01:00
Alexandre Gramfort ad8e4912cb TST: use assert_true instead of assert + remove some relative imports 2012-02-11 15:43:03 +01:00
Lars Buitinck 6fb7243728 DOC rm unused param from sparse.ElasticNet docstring 2012-01-28 20:38:22 +01:00
Andreas Mueller cb00e97dc2 COSMIT pep8 2012-01-23 10:02:01 +01:00
Lars Buitinck d5f02dae3d Merge branch 'master' into merge-linearsvcs
Conflicts:
	examples/document_classification_20newsgroups.py
2012-01-17 09:21:33 +01:00
Lars Buitinck 278fe52ba2 COSMIT refactor liblinear bindings
Move knowledge of the CSR matrix format down the chain.
2012-01-16 23:34:03 +01:00
Lars Buitinck 0b0bcfc311 ENH merge dense/sparse LinearSVC, part 4: deprecate sparse.LogisticRegression 2012-01-16 21:34:55 +01:00
Lars Buitinck a9470d12ca ENH merge dense/sparse LinearSVC, part 2: no more sparse.CoefSelectTransformer 2012-01-16 18:05:40 +01:00
Lars Buitinck 263d6c02f7 ENH merge dense/sparse LinearSVC, part 1: no more SparseBaseLibLinear 2012-01-16 17:55:47 +01:00
Mathieu Blondel f9701d34b8 Add deprecation warning. 2012-01-14 03:45:46 +09:00
Mathieu Blondel 0d48f49bbf Merge dense and sparse SGD implementations. 2012-01-14 03:21:40 +09:00
Mathieu Blondel 5048670baf Fix more bugs + tests. 2012-01-14 00:16:11 +09:00
Mathieu Blondel 7b62b29850 Fix a few more bugs. 2012-01-14 00:02:08 +09:00
Mathieu Blondel 944ff6e81e Partial tests + fix bugs. 2012-01-13 23:35:34 +09:00
Mathieu Blondel 68236ab14c Add decision_function to ElasticNet.
This allows to plug ElasticNet and Lasso into the multiclass estimators.
2012-01-10 16:22:05 +09:00
Peter Prettenhofer 746d686a4d remove obsolete `sparse_coef_` doc string 2012-01-08 18:34:33 +01:00
Lars Buitinck 5b00f4414a BUG refactor SGD classes to not store sample_weight 2012-01-08 17:41:52 +01:00