You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Andrew Palumbo (JIRA)" <ji...@apache.org> on 2017/03/30 03:12:41 UTC
[jira] [Created] (MAHOUT-1963) Signs are Flipped in the ViennaCL
Sparse %*% Sparse tests
Andrew Palumbo created MAHOUT-1963:
--------------------------------------
Summary: Signs are Flipped in the ViennaCL Sparse %*% Sparse tests
Key: MAHOUT-1963
URL: https://issues.apache.org/jira/browse/MAHOUT-1963
Project: Mahout
Issue Type: Bug
Affects Versions: 0.13.0
Reporter: Andrew Palumbo
Assignee: Andrew Palumbo
Priority: Critical
Fix For: 0.13.0, 0.13.1
Here aand in other places, In the ViennaCL (both modules) Unit tests, the signs are flipped when adding random data to matrices.
{code}
// add some sparse data with a 20% threshold
mxA := { (_, _, v) => if (r.nextDouble() .20) r.nextDouble() else v }
mxB := { (_, _, v) => if (r.nextDouble() < .20) r.nextDouble() else v }
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)