diff --git a/scikits/learn/utils/extmath.py b/scikits/learn/utils/extmath.py index bc794b5537d9128419d580781753bf42c8d0a43f..af3b7aeda78a8fbb1d92a120c72ac5fdfd118b1d 100644 --- a/scikits/learn/utils/extmath.py +++ b/scikits/learn/utils/extmath.py @@ -174,8 +174,9 @@ def fast_svd(M, k, p=None, q=0, transpose='auto', rng=0): for i in xrange(q): Y = _sparsedot(M, _sparsedot(M.T, Y)) - # extracting an orthonormal basis of the M range samples - Q, R = np.linalg.qr(Y) + # extracting an orthonormal basis of the M range samples: econ=True raises a + # deprecation warning but as of today there is no way to avoid it... + Q, R = linalg.qr(Y, econ=True) del R # project M to the (k + p) dimensional space using the basis vectors