tdunning commented on PR #471:
URL: https://github.com/apache/datasketches-cpp/pull/471#issuecomment-3721833531

   @proost Let's talk. Feel free to ping me directly on my apache email 
address. I would love to work with you on a Go implementation and there are 
important simplifications in Go relative to the Java implementation because you 
can easily have an array of structs.
   
   Regarding your question, a guard for ±inf is more subtle than it looks. If 
you insert a single infinite value, it will have a centroid with one data point 
in it. That's fine. If you insert another on the same side, you will start to 
get centroids with infinite value which is actually numerically correct. You 
will also have effects on the interpolation code, but that is also likely 
fairly reasonable.
   
   How do you think an empirical distribution with infinite values should be 
handled?
   
   What do you think the mean of such a distribution should be?


-- 
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]

Reply via email to