Congrats.

BTW, i would recommend you to use the trunk version. :)

On Fri, Apr 30, 2010 at 5:14 AM,  <[email protected]> wrote:
> Hey man,
>        I finally got the code working. One thing I want to point out is that 
> in
> the sample code you made an object of Get. This is not allowed in 
> hbase-0.19.3. I
> think the Get object is included from the version 0.20 onwards. Anyways I am
> posting the code which I used. Maybe this will be of some use to some body
>
> for(int i=0;i
>> HTable table = new HTable(conf, matrixPath);
>> Get get;
>>
>> for (int i = 0; i < e.length; i++) {
>> get = new Get(BytesUtil.getRowIndex(i));
>> e1 =
>>
> Bytes.toDouble(table.get(get).getValue(Bytes.toBytes(Constants.EI),Bytes.toBytes(Constants.EIVAL)));
>>
>> for (int j = 0; j < E[i].length; j++) {
>> get = new Get(BytesUtil.getRowIndex(i));
>> ev =
>>
> Bytes.toDouble(table.get(get).getValue(Bytes.toBytes(Constants.EIVEC),Bytes.toBytes(String.valueOf(j))));
>> }
>> }
>> }
>>
>> On Wed, Apr 28, 2010 at 2:11 PM,   lo.edu> wrote:> Hey,
>> >    Quick question. Here
>> is the code that I have written to print the eigen vector>
>> > DenseVector vect=
>> table.get(BytesUtil.getRowIndex(i),Bytes.toBytes("eivec:"));> for(int j=0;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 or is> it a column family ? If they are stored 
>> as a
>> column family then what are the> names of the individual columns ?
>> >
>> > Best Regards from Buffalo
>> >
>> > Abhishek Agrawal
>> >
>> > SUNY- Buffalo
>> > (716-435-7122)
>> >
>> > On Wed 04/28/10 12:11 AM , aa...@buffa
>> lo.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
>> >>
>> >> Abhishek Agrawal
>> >>
>> >> SUNY- Buffalo
>> >> (716-435-7122)
>> >>
>> >> On Mon 04/26/10 10:52 PM , "Edward J.
>> Yoon" edwardy>> [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,
>>   t; lo.edu> wrote:> Hi all,>> > >
>> ���>>
>> Ã��Ã�Â
>> ���  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
>> =>> >
>> 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&g
>> t; 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,>
>> ���  mp;a>> mp;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
>> 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 , aa...@buffa&a
>> mp;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 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;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 >> >>>> > 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>>> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> --
>> Best Regards, Edward J. Yoon
>> edwardy
>> [email protected]http://blog.udanax.org
>>
>>
>>
>>
>
>



-- 
Best Regards, Edward J. Yoon
[email protected]
http://blog.udanax.org

Reply via email to