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
Abhishek Agrawal
SUNY- Buffalo
(716-435-7122)
On Mon 04/26/10 10:52 PM , "Edward J. Yoon" [email protected] sent:
> Here's code for you.
>
> HTable table = new HTable(conf, matrixPath);
> Get get = new Get(rowKey);
> table.get(get).getValue(Bytes.toBytes("eval"),
> Bytes.toBytes("value"));
> See also, DenseMatrix.verifyEigenValue() method.
>
> Thanks,
> Edward.
>
> On Tue, Apr 27, 2010 at 11:13 AM, <aa...@buffa
> lo.edu> wrote:> Hi all,
> > Â Â Â For
> the last 3-4 days I have been working on the Jacobi Eigen Value> method. In
> the
context 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 =
> HBaseConnector.retrievePost("post1"); Â Â
> Â Â Â Â //Post1 is id
> of> a particular row
> >
> System.out.println(blogpost.get("post:title")); Â
> Â Â Â Â Â
> Â Â // 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 Â 6:00 PM , aa...@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 Â 2:08 AM ,
> "Edward J. Yoon" edwardy>> [email protected]
> 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 != 0 &&> icount <
> imax)">> > The integer state counts the number
> of>> components of changed which> have the
> value true. Iteration stops as soon as>> state = 0.>
> >> > The integer imax counts is just a
> optional. In>> TestJacobiEigenValue> class, imax is
> '100', but will be stoped when>> state = 0 (49> iterations).
> >> >
> >> > On Sun, Mar 14, 2010 at 1:06 PM,
> Â <aa...@buffa&g
> t; lo.edu> wrote:> Hello All,>> > >
> ���>>
> Ã��Ã�Â
> ��� >
> Ã��Ã�Â
> ��� I>> solved the 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> 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>>> > > Best Regards from
> Buffalo>> > >
> >> > > Abhishek Agrawal
> >> > >
> >> > > SUNY- Buffalo
> >> > > (716-435-7122)
> >> > >
> >> > > On Sat 03/13/10 12:33 AM , aa...@buffa&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 application.> 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 , aa...@buffa&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 >> >> > had...@zeus:~
> >> > >> > /HAMA$
> bin/hama>> examplesRunJar> jarFile>>
> [mainClass] args...> had...@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
> >> > [email protected]http://blog.udanax.org>>> >
> >> >
> >> >
> >>
> >>
> >>
> >>
> >>
> >
> >
>
>
>
> --
> Best Regards, Edward J. Yoon
> edwardy
> [email protected]http://blog.udanax.org
>
>
>
>