On 7/27/2010 8:09 PM, Zhou Liang wrote:
> Kesheng Wu wrote:
>> Dear Liang Zhou,
>>
>> The constraints are the conditions in the "conditional histogram".
>>
>> John
>>
>>
>> On Tue, Jul 27, 2010 at 1:54 PM, Liang Zhou<[email protected]
>> <mailto:[email protected]>>  wrote:
>>
>>       Hi all,
>>      I'm new to Fastbit, and I'm trying to compute histogram between two
>>      columns. However, I'm not sure what the first arg 'constraints' means,
>>      and I cannot find explanation on it throughout the doc. Any help would
>>      be very grateful! Thanks!
>>
>>      Regards,
>>      Liang
>>      _______________________________________________
>>      FastBit-users mailing list
>>      [email protected]<mailto:[email protected]>
>>      https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> FastBit-users mailing list
>> [email protected]
>> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
>>
> Thanks! I actually do want to compute conditional histogram. Seems the
> problem is caused by bin number and the vector size.
>
>
> Liang
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
That problem fixed, it turned out that I fed the table with type 
different than I indicated. Now, I want to compute the conditional 
histograms for all combination of two attributes of a table of records, 
what is the best way? I can create the subset table by 'table::select' 
using the query condition, but I'm not sure how to compute the 
conditional histograms from it as we don't know the range for attributes 
other than those appeared in the query condition. Perhaps, we need to 
traverse the subset table and determine the ranges and feed into 
'table::getHistogram2D'? Any ideas?

Thanks,
Liang
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to