MaheshGPai commented on PR #458:
URL: https://github.com/apache/datasketches-cpp/pull/458#issuecomment-2951982153
Serizlized bytes cannot be used to rebuild the tdigest in java for example.
With centroids list, one can rebuild the tdigest object in java by feeding them
as input.
```
import com.tdunning.math.stats.Centroid;
import com.tdunning.math.stats.TDigest;
;;
TDigest derivedTDigest = TDigest.createDigest(1024);
for(var centroid : centroids.entrySet()) {
derivedTDigest.add(entry.getKey(),entry.getValue());
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]