Joel Nothman
49d126fd8f
[MRG + 1] FIX use high precision cumsum and check it is stable enough ( #7331 )
...
* FIX use high precision cumsum and check it is stable enough
2016-09-09 06:17:12 +02:00
YenChenLin
c7d6f9ffc3
Test row_norms for float32 data
2016-05-25 20:29:03 +08:00
giorgiop
328ebfa865
ENH RandomizedPCA collapsed into PCA
2016-03-11 09:10:37 +11:00
dsquareindia
cfa498ca68
FIX in randomized_svd flip sign
...
Flip sign according to `u` in both cases of `transpose`.
2016-02-08 16:59:44 +01:00
giorgiop
6eca250347
MAINT speed up test_extmath
2016-02-06 18:55:23 +01:00
Andreas Mueller
776e53b127
skip unstable tests on 32bit platform
2015-11-02 15:21:22 -05:00
giorgiop
b18f2951e4
randomized_svd: power iter, normalization, benchmark
2015-10-21 11:21:40 +02:00
giorgiop
6a5a2f7960
partial_fit for scalers
2015-10-13 11:37:00 +02:00
MechCoder
d81b8ed898
Add test for softmax function
2015-09-08 17:34:33 -04:00
Andreas Mueller
a8626b36a6
TST/COSMIT remove nose call boilerplate
2015-05-28 14:54:01 -04:00
Raghav R V
cd2ee7e454
MAINT docstring --> comments to prevent nose from using doc in verbose mode
2015-03-21 11:16:49 +05:30
Andreas Mueller
6beacc3fb6
remove deprecated stuff from 0.17
2015-03-18 14:49:04 -04:00
Hasil Sharma
3c3360d408
FIX Make Spectral Embedding deterministic
2015-02-26 09:07:57 +01:00
Kyle Kastner
b2d6a30aeb
IncrementalPCA implementation
2014-09-22 13:12:29 -04:00
Gael Varoquaux
05e65a655d
TEST: fix test failing due to numeric instability
2014-07-14 20:47:18 +02:00
sdenton4
b70a481430
FIX: More robust test_extmath.py, compatible with older numpy
2014-04-17 11:09:11 -04:00
Lars Buitinck
fb795ebef0
ENH factor out squared norm helper
2014-04-08 23:02:54 +02:00
Lars Buitinck
eb7e86a7eb
TST don't run fast_dot tests on numpy>=1.7.2 + pep8
2014-03-30 12:04:33 +02:00
Gael Varoquaux
20b87f9dce
TST: test utils.extmath more robust
2014-03-02 20:13:57 +01:00
Lars Buitinck
fd54575111
ENH re-instate extmath.logistic_sigmoid
...
For backward compat only, so immediately deprecated.
2014-02-23 17:47:03 +01:00
Lars Buitinck
0ba1e28cd5
ENH speed up RBM training with scipy.special.expit
...
SciPy 0.10 already has an implementation of the logistic function called
scipy.special.expit.
Using this makes RBM training 12% faster, as measured by observing the time
per iteration as reported by the plot_rbm_logistic_classification.py example,
disregarding the first iteration as an outlier (it's consistently faster than
the rest, not sure why). The speedup is in the expit function, not the
inplace operations; those are there to make benchmarking easier, but they
certainly won't hurt.
2014-02-23 17:46:53 +01:00
Joel Nothman
dbc26ce996
COSMIT remove unused imports and variables
2014-02-03 19:43:56 +11:00
dengemann
3a6c0344e9
ENH: more of this
2013-11-29 13:55:39 +01:00
dengemann
d2f3a8a3da
ENH: refactor warnings 1
2013-11-29 13:55:38 +01:00
dengemann
5055836043
STY: tuple for Gael
2013-11-29 13:55:38 +01:00
dengemann
4d01a77a69
FIX: unintended assignment to ValueError
2013-11-29 13:55:38 +01:00
dengemann
642cbb2a69
MAINT: use stable blas getter API
2013-11-25 19:16:58 +01:00
Mathieu Blondel
9162dd5018
More robust unit tests for fast_dot.
2013-11-09 18:21:50 +09:00
Mathieu Blondel
8143e40656
BUG: ValueError was assigned as local variable!
2013-11-09 13:40:09 +09:00
Lars Buitinck
311172e31a
TST fix still broken test_fast_dot
...
On Travis, SciPy seems to raise AttributeError instead of ValueError.
2013-10-20 20:45:57 +02:00
Lars Buitinck
c14a619de6
TST fix broken fast_dot test
...
Due to a misspelling ("get_blas" vs. "get_blas_funcs") and a bare except
clause, the tests weren't actually being run.
2013-10-20 19:17:26 +02:00
Lars Buitinck
24af95a211
ENH refactor squared-norms computation to extmath
...
k-means can now use the memory-efficient dense implementation from
metrics.pairwise, while pairwise can use the fast sparse implementation
from k-means.
2013-10-12 20:27:51 +02:00
balu
b0de2e3f5b
fix visual indentation
2013-08-31 12:28:28 +05:30
dengemann
f91fba2f01
ENH: restrict fast_dot to np < 1.8
2013-08-25 11:16:22 +02:00
dengemann
1322da977c
ENH/FIX: address @ogrisel comments
2013-08-25 11:16:21 +02:00
dengemann
b86f3d5208
ENH: add new Warning class, improve tests, update docs
2013-08-25 11:16:21 +02:00
dengemann
69fc2970e7
FIX: remove spurious test
2013-08-25 11:16:21 +02:00
dengemann
5a3a432a79
ENH: return np.dot if ndim does not match
2013-08-25 11:16:21 +02:00
dengemann
e98d1ccf42
FIX: workaround for missing BLAS
2013-08-25 11:16:21 +02:00
dengemann
67ceee1137
COSMITS
2013-08-25 11:16:20 +02:00
dengemann
bf1655104e
better handling of warning in test
2013-08-25 11:16:20 +02:00
dengemann
eeaa6e1634
FIX: fix test warning
2013-08-25 11:16:20 +02:00
dengemann
3f3fb83c3d
FIX: avoid zero-dvision warnings
2013-08-25 11:16:20 +02:00
dengemann
19e0401c12
employ DataConversionWarning
2013-08-25 11:16:20 +02:00
dengemann
2240e44f31
ENH: add fast_dot function
2013-08-25 11:16:20 +02:00
Lars Buitinck
74ec752e3c
ENH speed up logistic_sigmoid (using less code)
...
Timings, before:
>>> x = np.linspace(-1000, 1000, 10000)
>>> %timeit logistic_sigmoid(x)
1000 loops, best of 3: 570 us per loop
After:
>>> %timeit logistic_sigmoid(x)
1000 loops, best of 3: 286 us per loop
For comparison:
>>> %timeit np.tanh(x)
10000 loops, best of 3: 117 us per loop
>>> %timeit .5 * (1 + np.tanh(x/2.))
1000 loops, best of 3: 301 us per loop
TODO: optimize log_logistic_sigmoid.
2013-07-28 16:44:13 +02:00
Vlad Niculae
e488649af4
ENH Add fast and stable logistic sigmoid to utils and RBM
2013-07-24 17:27:22 +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
Lars Buitinck
541987802f
P3K range vs. xrange
2013-02-14 02:05:35 +01:00
Vlad Niculae
5b948bbcf3
TEST flipped svd remains correct
2012-12-24 15:04:36 +01:00