Re: SGD Based Recommender Contribution Proposal

2012-09-09 Thread Gokhan Capan
On Fri, Sep 7, 2012 at 12:48 AM, Ted Dunning ted.dunn...@gmail.com wrote: This sounds pretty exciting. Beyond that, it is hard to say much. Can you say a bit more about how you would see introducing the code into Mahout? Ted, I've forked apache/mahout at github, and I will merge the

Anonymous rows in clusters after SSVD

2012-09-09 Thread Pat Ferrel
Regarding SSVD + clustering I tried the command line version of kmeans on U*Sigma and don't get row IDs in clusteredPoints there either. Using the command line kmeans on the input matrix A does generate row IDs. There must be some difference in the two that causes this to happen. I used

ArrayIndexOutOfBoundsException SparseMatrix

2012-09-09 Thread PEDRO MANUEL JIMENEZ RODRIGUEZ
Hi all, I'm trying to set all values of a SparseMatrix structure using multiple threads but I'm getting an error of ArrayIndexOutBoundsException even when access indexes are correct. In fact, when I subtitude SparseMatrix structure for a double array I didn't get any error. Does any one have

Re: ArrayIndexOutOfBoundsException SparseMatrix

2012-09-09 Thread Ted Dunning
You are using lots of threads but the sparse matrix structure is not thread safe. Setting a value in the SparseMatrix causes mutation to internal data structures. If you can have each thread do all the updates for a single thread, that would be much better. Another option is to synchronize on

Re: SGD Based Recommender Contribution Proposal

2012-09-09 Thread Ted Dunning
Great. If the update has a huge impact on existing code, can you break it into manageable pieces? If it is just an addition, having a big blob of stuff is probably fine. On Sun, Sep 9, 2012 at 7:01 AM, Gokhan Capan gkhn...@gmail.com wrote: On Fri, Sep 7, 2012 at 12:48 AM, Ted Dunning