Hi, > I am not sure this code easily can be parallel computed,or how to change > this code to add the parallel compuation.any advice will be > appreciated.thanks in advance.
OK, I'm sure it could be run on Hama/Hadoop. According to my understanding of your code, It's a PCA. If you have an M images as represented N^2 * 1 vectors, vector will be nomalized by step-2. In step-3, the covariance matrix will be constructed using matrix A by deviation of images and A^T. Finally you'll get the eigenfaces using eigen values/vectors. There are two large computing component in the step-3 and step-4, such as N^2 by N^2 matrix transpose, multiplication and eigen values/vectors of M by M matrix. Currently in Hama, multiplication and transpose were implemented. If eigenvalue decomposition is implement, you can easily migrate code. > hama has it's own mailing list and this question is probably better > asked there. see http://incubator.apache.org/hama/mailing_lists.html Yes, we have own mailing list. Please contact us. Thanks, Edward On Wed, May 20, 2009 at 4:51 PM, Robert Burrell Donkin <robertburrelldon...@gmail.com> wrote: > On Wed, May 20, 2009 at 8:08 AM, ykj <ykj...@163.com> wrote: >> >> Hello,everyone > > hi > >> I am new to hama. in our project ,my team leader let me upload old >> code, run it on hadoop with parallel matrix computation. > > hama has it's own mailing list and this question is probably better > asked there. see http://incubator.apache.org/hama/mailing_lists.html > > thanks > > - robert > -- Best Regards, Edward J. Yoon @ NHN, corp. edwardy...@apache.org http://blog.udanax.org