[ 
https://issues.apache.org/jira/browse/MAHOUT-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Dunning updated MAHOUT-1390:
--------------------------------

    Attachment: MAHOUT-1390.patch

Here is a patch that includes a test that fails if the SVD doesn't converge as 
well as a patch that fixes the hang.

That test has a timeout, but the normal time for completion is <<400 ms on my 
laptop and the timeout is 2000 ms so I think this is safe.


> 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)

Reply via email to