Gael varoquaux
fcb81abf6f
BUG: LassoLARS: X: modified during the normalization
2011-06-19 20:15:44 +02:00
Fabian Pedregosa
e65e93e5ca
Add test and cleanup for 2c1c88
2011-06-19 15:16:34 +02:00
Gael varoquaux
2c1c88b6e7
BUG: change alpha scaling in LassoLARS
2011-06-18 19:12:30 +02:00
Gael varoquaux
e5d19f8b35
BUG: Fix bug introduced in 83cf11c
2011-06-18 15:38:43 +02:00
Gael varoquaux
83cf11c398
COSMIT: Minor refactor in lars_path
...
This will make LarsCV easier
2011-06-18 10:34:35 +02:00
Gael varoquaux
6f8bd76ced
ENH: LARS: fit_params -> class params
2011-06-18 10:16:48 +02:00
Gael varoquaux
d4982ef199
ENH: Lasso and LassoCV: fit params -> class params
2011-06-18 09:21:27 +02:00
Olivier Grisel
01d10bf537
FIX: broken doctests and missing max_iter attribute in LassoLARS
2011-06-01 02:42:33 +02:00
Olivier Grisel
e91a53ef1f
docstring style
2011-06-01 02:31:19 +02:00
Fabian Pedregosa
a68070a4b0
Add max_iter to LARS.
2011-05-31 15:18:13 +02:00
Lars Buitinck
6722d79c1d
typo: interation/iteration + re-Cythonize cd_fast.pyx
2011-05-22 20:26:47 +02:00
GaelVaroquaux
087d6f2ce1
BUG: Avoid NaNs in lars_path
2011-05-20 00:13:11 +02:00
Alexandre Gramfort
f10929e9a8
pep8
2011-05-16 21:52:06 -04:00
Fabian Pedregosa
839ff53bc6
Docstring for test.
2011-05-16 14:58:15 +02:00
Yaroslav Halchenko
1ed238db57
minor -- pass verbose into LARS in the test case
2011-05-14 11:23:19 +02:00
Yaroslav Halchenko
55b4584138
test case for previous commit
2011-05-14 11:23:02 +02:00
Yaroslav Halchenko
6d2b4ce7c5
FIX: lars_path -- assure that at least some features get added if necessary
...
Otherwise can run into situation when max_features == n_active, so add_features
becomes == 0, thus no actual resize happens, and then next assignment to coefs
fails.
2011-05-14 11:22:38 +02:00
Peter Prettenhofer
2596c4de76
changed semantics of LossFunction.dloss.
...
dloss now returns the derivative of the loss function w.r.t. the prediction p = w^t x instead of the negative derivative.
2011-05-11 16:25:37 +02:00
Paolo Losi
fa6fca83d3
FIX: for SGD log loss
2011-05-11 05:25:27 -07:00
Olivier Grisel
94e2883c61
Merge pull request #150 from pprett/learningrate
...
Merging adjustable learning rate improvements for SGD models by @pprett
2011-05-05 03:14:56 -07:00
Peter Prettenhofer
d85aba65fd
cosmit: pep8
2011-05-04 20:14:54 +02:00
Olivier Grisel
8b5a0274d2
kill trailing spaces
2011-05-04 17:49:17 +02:00
Peter Prettenhofer
422d16277d
cosmit: removed trailing whitespace
2011-05-04 17:34:16 +02:00
Peter Prettenhofer
10febc4ba0
Run cython on sgd_fast and sgd_fast_sparse.
2011-05-04 17:24:05 +02:00
Peter Prettenhofer
89b396f0a1
added learning rate arguments to docstrings.
2011-05-04 17:22:52 +02:00
Peter Prettenhofer
db8fb49395
Fixed doc-tests and added doc strings for SGD learning rates.
2011-05-04 17:20:53 +02:00
Peter Prettenhofer
326a81aaea
Added SGD regression benchmark
2011-05-04 17:20:44 +02:00
Peter Prettenhofer
2df3f2a271
SGD module supports two additional learning rates: constant and inverse scaling.
2011-05-04 17:20:17 +02:00
Olivier Grisel
6ee9d68250
rename rng to random_state
2011-05-04 09:45:16 +02:00
Paolo Losi
21dceb2605
removed old version of min_C
2011-04-17 18:22:12 +02:00
Paolo Losi
11a8110377
got rid of np.where
2011-04-17 16:01:49 +02:00
Paolo Losi
99f7701ec7
fix for "removed float64 and int32 conversion"
2011-04-13 12:02:43 +02:00
Paolo Losi
b21a30b2f0
docstrings updated
2011-04-13 11:57:20 +02:00
Paolo Losi
c8d5baa7b7
removed float64 and int32 conversion
...
... since we are not calling any native code
2011-04-13 11:53:32 +02:00
Paolo Losi
bda15f53ee
s / shape = / .reshape() /
2011-04-12 22:30:54 +02:00
Paolo Losi
e034f09dd4
min_C: fixes to the doc strings
2011-04-12 15:38:13 +02:00
Paolo Losi
7cc9673be6
min_C: let's avoid scipy.sparse top level import
2011-04-12 11:42:01 +02:00
Paolo Losi
d58cddd237
min_C: check for ill-posed problem _y * X == 0
2011-04-12 11:24:12 +02:00
Paolo Losi
0c86e6b51e
min_C: reworked _y calculation
2011-04-12 11:21:53 +02:00
Paolo Losi
b2b8c2ba6b
pep8 compliance
2011-04-12 10:58:43 +02:00
Paolo Losi
b07bdee9ef
numpy/scipy idioms as suggested by agramfort
2011-04-12 10:49:08 +02:00
Paolo Losi
91de1c2a9d
review of min_C doc strings
2011-04-11 22:07:58 +02:00
Paolo Losi
a0085eb042
l1 logreg (liblinear): minimum C (sparse version)
2011-04-11 22:07:58 +02:00
Gael varoquaux
10458f6ee0
DOC: module entries in reference documentation
...
Amongst other things, this is useful for linking to these modules.
2011-04-11 22:07:58 +02:00
Paolo Losi
8b19136a20
l1 logreg (liblinear): minimum C calculation
2011-04-11 22:07:56 +02:00
Meng Xinfan
0c5c87ae73
Update the docstring to reflect the package name changes.
2011-04-07 12:29:36 +02:00
Peter Prettenhofer
77ba9c659a
Cosmit in fast_sgd.pyx
2011-04-06 10:13:18 +02:00
Fabian Pedregosa
ec8edb63e8
I won't import scipy.sparse globally.
...
I won't import scipy.sparse globally.
I won't import scipy.sparse globally.
I won't import scipy.sparse globally.
I won't import scipy.sparse globally.
...
2011-04-01 17:32:58 +02:00
Fabian Pedregosa
138e688ea6
Refactoring in svm module.
...
Renaming and module denesting. This is just a refactoring of low-level
routines to ease usage of the low-level API. Higher level API was not
changed.
2011-03-30 16:06:49 +02:00
Peter Prettenhofer
3db9bbef5c
pep8 + oliviers remarks
2011-03-21 09:25:42 +01:00