Re: question on writing a customized item similiarity function

2011-09-03 Thread Sean Owen
If you are referring to the non-distributed similarity function, it is quite easy: implement UserSimilarity or ItemSimilarity and use that as your similarity function. How you implement is up to you. If you say more about what you need to do, maybe people can suggest the right logic. On Sat, Sep 3

A Kabsch rotation is almost there

2011-09-03 Thread Lance Norskog
https://github.com/LanceNorskog/LSH-Hadoop/blob/master/extras/mahout/src/working/KabshRotation.java This is an implementation from an article on Wikipedia, which never lies. http://en.wikipedia.org/wiki/Kabsch_algorithm The rotation outputs are way too far off. It has 3 points to rotate 2 dimens