You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a = np.random.random((3, 5))
data = da.from_array(a, chunks=5)
q, r = da.linalg.tsqr(data)
q.shape, r.shape
we get...
((3, 5), (5, 5))
wherein the shape of q is wrong. It should be a (3, 3).
But q.compute() correctly yields a 3x3 matrix but of course q.T.dot(q).shape will yield (5,5) which will cause tests to fail (if such tests were there).
I'm presently mucking around tsqr. So perhaps I might tidy up the tests there.
On Fri, Jun 8, 2018 at 11:15 PM, Jeremy Chen ***@***.***> wrote:
a = np.random.random((3, 5))
data = da.from_array(a, chunks=5)
q, r = da.linalg.tsqr(data)
q.shape, r.shape
we get...
((3, 5), (5, 5))
wherein the shape of q is wrong. It should be a (3, 3).
But q.compute() correctly yields a 3x3 matrix but of course
q.T.dot(q).shape will yield (5,5) which will cause tests to fail (if such
tests were there).
I'm presently mucking around tsqr. So perhaps I might tidy up the tests
there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3583>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszL72X0h4kP9g9GagzisNVpOvQ1yqks5t6z3RgaJpZM4UhJ08>
.
Activity
[-]dask.array.linalg.tsqr minor bug[/-][+]dask.array.linalg.tsqr incorrectly reported shapes[/+]fix: dask.array.linalg.tsqr incorrectly reported shapes (dask#3583)
convexset commentedon Jun 9, 2018
Fix in: #3575
mrocklin commentedon Jun 10, 2018
dask/linalg/qr: explicit checking of the shape of outputs (see: dask#…
[array.linalg.qr] added sfqr (short-and-fat) as a counterpart to tsqr… (