Return-Path: Delivered-To: apmail-incubator-hama-user-archive@minotaur.apache.org Received: (qmail 91453 invoked from network); 28 Apr 2010 05:14:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Apr 2010 05:14:32 -0000 Received: (qmail 22491 invoked by uid 500); 28 Apr 2010 05:14:32 -0000 Delivered-To: apmail-incubator-hama-user-archive@incubator.apache.org Received: (qmail 22392 invoked by uid 500); 28 Apr 2010 05:14:30 -0000 Mailing-List: contact hama-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-user@incubator.apache.org Delivered-To: mailing list hama-user@incubator.apache.org Received: (qmail 22384 invoked by uid 99); 28 Apr 2010 05:14:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 05:14:29 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.205.5.208] (HELO localmailD.acsu.buffalo.edu) (128.205.5.208) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 05:14:21 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id DEAE1C181B; Wed, 28 Apr 2010 01:14:00 -0400 (EDT) Received: from unknown-host by localmailD.acsu.buffalo.edu with queue (Sophos PureMessage Version 5.406) id 433842-1; Wed, 28 Apr 2010 05:11:39 GMT Received: from localmailD.acsu.buffalo.edu (localhost [127.0.0.1]) by localmailD.acsu.buffalo.edu (Postfix) with ESMTP id BA144C1815; Wed, 28 Apr 2010 01:11:39 -0400 (EDT) Received: from mweb2.acsu.buffalo.edu (mweb2.acsu.buffalo.edu [128.205.5.239]) by localmailD.acsu.buffalo.edu (Prefixe) with ESMTP id B1591C1848; Wed, 28 Apr 2010 01:11:39 -0400 (EDT) Received: from localhost (ubmail.acsu.buffalo.edu [128.205.6.72]) by mweb2.acsu.buffalo.edu (Postfix) with ESMTP id 9F58C203C0; Wed, 28 Apr 2010 01:11:39 -0400 (EDT) MIME-Version: 1.0 X-Mailer: AtMail PHP 5.41 Message-ID: <12237.1272431499@buffalo.edu> To: , , "Edward J. Yoon" Reply-To: aa225@buffalo.edu Content-Type: text/plain; charset="utf-8" X-Origin: 67.252.150.109 X-Atmail-Account: aa225@buffalo.edu Date: Wed, 28 Apr 2010 01:11:39 -0400 Subject: Re: Re: Re: Re: Re: Doubt in the EigenValueProcedure in DenseMatrix.java From: aa225@buffalo.edu Content-Transfer-Encoding: quoted-printable X-PM-EL-Spam-Prob: : 8% X-Virus-Checked: Checked by ClamAV on apache.org Hey, Quick question. Here is the code that I have written to print the eigen= vector=20 DenseVector vect=3D table.get(BytesUtil.getRowIndex(i),Bytes.toBytes("eivec= :")); for(int j=3D0;j<10;j++) System.out.printf("%f ",vect.get(j)); Something is wrong but I am not quite sure what the error is. Also how are = the eigen vectors stored. I mean is it a single column which returns a vector o= r is it a column family ? If they are stored as a column family then what are th= e names of the individual columns ? Best Regards from Buffalo Abhishek Agrawal SUNY- Buffalo (716-435-7122) On Wed 04/28/10 12:11 AM , aa225@buffalo.edu sent: > Hey man, > Thanks a lot .... I got that part working with a couple of > modifications. Next step is to print all the eigen vectors. Lets see how > that goes > Best Regards from Buffalo >=20 > Abhishek Agrawal >=20 > SUNY- Buffalo > (716-435-7122) >=20 > On Mon 04/26/10 10:52 PM , "Edward J. Yoon" edwardy > oon@apache.org sent:> Here's code for you. > >=20 > > HTable table =3D new HTable(conf, > matrixPath);> Get get =3D new Get(rowKey); > > > table.get(get).getValue(Bytes.toBytes("eval"),> Bytes.toBytes("value")); > > See also, DenseMatrix.verifyEigenValue() > method.>=20 > > Thanks, > > Edward. > >=20 > > On Tue, Apr 27, 2010 at 11:13 AM, lo.edu> wrote:> Hi all= , > > > =C3=83=EF=BF=BD=C3=82=C2=A0 > =C3=83=EF=BF=BD=C3=82=C2=A0 =C3=83=EF=BF=BD=C3=82=C2=A0 For> the last 3-4= days I have been working on the > Jacobi Eigen Value> method. In thecontext of that method I have > > some doubts so as to how the does> > DenseMatrix use the HTable to store data. Here> is what my problem is.> > > > From the documentation I see that the > Jacobi> EigenValue method stores the> eigenvalues in > another column of the original> matrix. Tor retrieve these values I> want= to > use some code of this sort> > > > > public static void main(String[] args) > throws> IOException {> Map blogpost =3D > > HBaseConnector.retrievePost("post1"); > =C3=83=EF=BF=BD=C3=82=C2=A0 =C3=83=EF=BF=BD=C3=82=C2=A0> =C3=83=EF=BF=BD= =C3=82=C2=A0 =C3=83=EF=BF=BD=C3=82=C2=A0 > =C3=83=EF=BF=BD=C3=82=C2=A0 =C3=83=EF=BF=BD=C3=82=C2=A0//Post1 is id> of>= a particular row > > > > > > System.out.println(blogpost.get("post:title")); > =C3=83=EF=BF=BD=C3=82=C2=A0> =C3=83=EF=BF=BD=C3=82=C2=A0 =C3=83=EF=BF=BD= =C3=82=C2=A0 > =C3=83=EF=BF=BD=C3=82=C2=A0 =C3=83=EF=BF=BD=C3=82=C2=A0 > =C3=83=EF=BF=BD=C3=82=C2=A0> =C3=83=EF=BF=BD=C3=82=C2=A0 =C3=83=EF=BF=BD= =C3=82=C2=A0 // > Post:title is> the column family> > > > > System.out.println(blogpost.get("post:author"));> }> > > > > But I am unable to understand what values > to use> for the row- ids so that I can> retrieve the > Eigen Values. Or is there any other> method to retrieve these values ?> > > > > > > Best Regards from Buffalo > > > > > > Abhishek Agrawal > > > > > > SUNY- Buffalo > > > (716-435-7122) > > > > > > On Fri 04/23/10 =C3=83=EF=BF=BD=C3=82=C2=A06:00 > PM , aa225@buffa> lo.edu sent:>> Hi Edward, > > >> I have a couple of more questions about > the> Jacobi Eigen Value>> procedure. As of now > I think all the eigen> values are stored in the>> > eival:valuecolumn in the JacobiEigenValue> table. So to return the eigen values> all > I> >> have todo is at the end of the > function, I> have to write return > JacobiEigenValue;>>> >> I tried this and it did not compile. > What is> the mistake ?>> > > >> > > >> Best Regards from Buffalo > > >> > > >> Abhishek Agrawal > > >> > > >> SUNY- Buffalo > > >> (716-435-7122) > > >> > > >> On Mon 03/15/10 > =C3=83=EF=BF=BD=C3=82=C2=A02:08 AM ,> "Edward J. Yoon" edwardy>> oon@apac= he.org > > sent:> Hi,>> > > > >> > > Currently what I am doing > is> generating a>> 10*10> random matrix and > I give 3 as> the>> > Jacobi Eigenvalue Algorithm is > only> works for>> symmetric > matrix.>> >> > > number of loops. I dont > understand> why but>> my> output looks very much > like my>> input. If I>> increase the number of loops > what> should> I increase it to ?Is there> any co>> > relation between size of the matrix and>> the number of loops>> > See the= 814 > line code of DenseMatrix> "while>> (state !=3D 0 &&> > icount <> imax)">> > The integer state > counts the number> of>> components of changed which> have > the> value true. Iteration stops as soon as>> > state =3D 0.>> >> > The integer imax counts is just > a> optional. In>> TestJacobiEigenValue> > class, imax is> '100', but will be stoped when>> state =3D 0 > (49> iterations).> >> > > > >> > On Sun, Mar 14, 2010 at 1:06 > PM,> =C3=83=EF=BF=BD=C3=82=C2=A0 mp;g> t; lo.edu> wrote:> Hello All,>> > > >> > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=C2=AF=C3=82=C2=BF=C3=82=C2=BD > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD>>> > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=C2=AF=C3=82=C2=BF=C3=82=C2=BD > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=EF=BF=BD=C3=82=C2=A0> > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=C2=AF=C3=82=C2=BF=C3=82=C2=BD > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=EF=BF=BD=C3=82=C2=A0>> > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=C2=AF=C3=82=C2=BF=C3=82=C2=BD > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=EF=BF=BD=C3=82=C2=A0> > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=C2=AF=C3=82=C2=BF=C3=82=C2=BD > =C3=83=EF=BF=BD=C3=AF=C2=BF=C2=BD=C3=83=EF=BF=BD=C3=82=C2=A0I>> solved th= e > previous problem. Now my program> is> able to get the eigen> values,> but > I want to> >> know what is a good value> to give > for> the number of loops.> Currently>> what > I am doing is generating a 10*10>> random matrix and I give 3 as the> num= ber > of>> loops. I dont understand why but my>> output looks very much like my= > input. If > I>> increase the number of loopswhat> should > > I increase it to ?Is there> any co>> > relation between size of the matrix and>> the number of loops>>> > > Best > Regards from> Buffalo>> > > > > >> > > Abhishek Agrawal > > >> > > > > >> > > SUNY- Buffalo > > >> > > (716-435-7122) > > >> > > > > >> > > On Sat 03/13/10 12:33 AM , aa225@buffa&a > mp;g> t; lo.edu sent:>> Hi,>> > > >> I was looking through> the>> Eigenvalue> procedure in > DenseMatrix.java> and I>>>> seethe values of the > calculated eigen> values> are stored in a table. I > was>>>> wonderinghow ca I access the values of> this> table from my appli= cation.> > According to>>> >> myunderstanding the name of the > tableis> not>> > given at run > time>>> >> > >> Best Regards > from> Buffalo>> > >> > > >> > >> Abhishek > Agrawal> >> > >> > > >> > >> SUNY- Buffalo > > >> > >> (716-435-7122) > > >> > >> > > >> > >> On Fri 03/12/10 11:21 PM > , aa225@buffa&a > mp;a> mp;g>> t;> lo.edu sent:> Hi,> > >>> > I am a relatively new user of>> Hama. > I> ran the>> command> "bin/hama>>> examples> > "and this is the output I> am>>>> getting >> >> > > hadoop@zeus:~ > > >> > >> > /HAMA$ > > bin/hama>> examplesRunJar> > jarFile>>> [mainClass] args...> hadoop@zeus:~ > > >> > >> > /HAMA$ > > >> > >> > From the wiki I see > that> this is>> not> what I>> should be > getting.> What is>> the> reasonfor> this > ?>>> >>> > >> > Best > Regards> from>> Buffalo> >> > >> >> > >> > Abhishek > > Agrawal>> > >> > > > >> > >> > SUNY- > Buffalo> >> > >> > > (716-435-7122)> >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > >> > >> > > >> > >> > > >> > >> > > >> > >> > > >> > > > > >> > > > > >> > > > >> > > > >> > > > >> > -- > > >> > Best Regards, Edward J. Yoon > @> NHN,>> corp.> edwardy > > >> > oon@apache.orghttp://blog.udanax.org>>> > >> >> > > > >> > > > >> > > >> > > >> > > >> > > >> > > > > > > > >=20 > >=20 > >=20 > > --=20 > > Best Regards, Edward J. Yoon > > edwardy > > oon@apache.orghttp://blog.udanax.org>=20 > >=20 > >=20 > >=20 >=20 >=20 >=20 >=20 >=20