Github user thvasilo commented on the pull request:
https://github.com/apache/flink/pull/861#issuecomment-114896951
> Actually, how about making the Categorical Histogram completely online
too? We could just take a numClasses there too, with a semantic difference that
in this case the number of buckets would be absolute, with a count and real
value associated with each bucket. The internal data structure would be a
hashmap now, with the maximum allowed size numClasses.
I like this approach.
> Adding a Utility method does certainly make sense. User will be supposed
to provide an argument depicting whether the values in DataSet[Double] are
continuous or discrete.
I think it's enough to assume that the values are continuous and use that
code.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---