You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@datasketches.apache.org by Yaron Illouz <ya...@radcom.com> on 2022/09/08 09:02:06 UTC

fdt sketch

Hi

I don’t find fdt sketch in the https://github.com/apache/datasketches-cpp code as describe in https://datasketches.apache.org/docs/Frequency/FrequentDistinctTuplesSketch.html
I believe it is implemented because I can see example in the description
//Construct the sketch
FdtSketch sketch = new FdtSketch(0.01, 0.05);



Re: fdt sketch

Posted by Jon Malkin <jo...@gmail.com>.
Apologies for the delayed response.

The short answer is that the sketch only exists in the Java library, and
using that one the provided example should work fine.

That said, I think it should be possible to implement it in C++ with the
correct definitions of ExtractKey, Summary, and Policy. In case it's
helpful, we recently merged an implementation of the engagement example
from the website, which is available (not in a release branch yet) here:
https://github.com/apache/datasketches-cpp/blob/master/tuple/test/engagement_test.cpp

  jon

On Thu, Sep 8, 2022 at 2:02 AM Yaron Illouz <ya...@radcom.com> wrote:

> Hi
>
>
>
> I don’t find fdt sketch in the https://github.com/apache/datasketches-cpp
> code as describe in
> https://datasketches.apache.org/docs/Frequency/FrequentDistinctTuplesSketch.html
>
> I believe it is implemented because I can see example in the description
>
> //Construct the sketch
>
> FdtSketch sketch = new FdtSketch(0.01, 0.05);
>
>
>
>
>