You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2014/01/26 08:54:38 UTC

[jira] [Comment Edited] (MAHOUT-1390) SVD hangs for certain inputs

    [ https://issues.apache.org/jira/browse/MAHOUT-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882214#comment-13882214 ] 

Suneel Marthi edited comment on MAHOUT-1390 at 1/26/14 7:53 AM:
----------------------------------------------------------------

We don't need timeout on testSvdHangs() as all tests that extend MahoutTestCase have a default timeout of 20000 in light of the fix for Mahout-1345. 

Seeing the below error from carrot RandomizedTesting:-

{Code}
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.105 sec <<< FAILURE! - in org.apache.mahout.math.TestSingularValueDecomposition
testSvdHang(org.apache.mahout.math.TestSingularValueDecomposition)  Time elapsed: 1.114 sec  <<< ERROR!
java.lang.Exception: Test timeout exceeded (>= 1000 msec).
	at __randomizedtesting.SeedInfo.seed([64835AB2DEEF68AB:63E9A21C9788E3EF]:0)
{Code}

Removing the timeout for this test to fix the above issue (and also unused imports that need to be cleaned up).


was (Author: smarthi):
We don't need timeout on testSvdHangs() as all tests that extend MahoutTestCase have a default timeout of 20000 in light of the fix for Mahout-1345. 
Removing the timeout for this test (and unused imports that need to be cleaned up).

> SVD hangs for certain inputs
> ----------------------------
>
>                 Key: MAHOUT-1390
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1390
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>    Affects Versions: 0.8
>            Reporter: Ted Dunning
>            Priority: Critical
>             Fix For: 0.9
>
>         Attachments: MAHOUT-1390.patch
>
>
> For certain inputs, the SingularValueDecomposition implementation that we have doesn't detect that it has effectively converged and runs into an infinite loop.
> Luckily, there is a fix that has been added to the Jama implementation that our SVD is ultimately based on and that fix works for our problem.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)