Cool! I'll check it out. Making a new Mersenne object for each lookup is not an option. This is the kind of thing that should have UnsupportedOperation exception.
On Wed, Apr 6, 2011 at 1:02 AM, Ted Dunning <[email protected]> wrote: > The random matrix that dmitriy has uses MurmurHash based on the two indices > to create the random values. They aren't cached since they are generated > fairly quickly. > > On Wed, Apr 6, 2011 at 12:36 AM, Sean Owen (JIRA) <[email protected]> wrote: > >> >> [ >> https://issues.apache.org/jira/browse/MAHOUT-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016285#comment-13016285] >> >> Sean Owen commented on MAHOUT-550: >> ---------------------------------- >> >> Well it turns out MersenneTwisterRNG won't take a new seed, but it just >> means setSeed() in RandomWrapper needs to make a new RNG instead. I can add >> that, it's a detail. >> >> > Add RandomVector and RandomMatrix >> > --------------------------------- >> > >> > Key: MAHOUT-550 >> > URL: https://issues.apache.org/jira/browse/MAHOUT-550 >> > Project: Mahout >> > Issue Type: New Feature >> > Components: Math >> > Reporter: Lance Norskog >> > Assignee: Sean Owen >> > Attachments: MAHOUT-550.patch, MAHOUT-550.patch, >> RandomMatrix.patch >> > >> > >> > Add Vector and Matrix implementations that generate a unique and >> reproducible random number for each index. >> >> -- >> This message is automatically generated by JIRA. >> For more information on JIRA, see: http://www.atlassian.com/software/jira >> > -- Lance Norskog [email protected]
