Dear Liang Zhou,

There is also a set of functions named ibis::part::get2DBins that might
satisfy your needs as well if you can use ibis::part class directly.

John


On Thu, Jul 29, 2010 at 12:34 AM, Zhou Liang <[email protected]> wrote:

>  On 7/28/2010 10:42 PM, Zhou Liang wrote:
> >    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
> Ok, I think I got it, just put constraints into table::getHistogram2D
> with the axises I want, then I'll get want I want.
> _______________________________________________
> FastBit-users mailing list
> [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

Reply via email to