Github user sachingoel0101 commented on the pull request:
https://github.com/apache/flink/pull/861#issuecomment-132449023
Hi @chiwanpark , I have modified the documentation to include the collect
step.
I have also made a few modification to how the histogram is created by
using a `MapPartition` function instead of `Map`. Also, for more consistency,
changed the signature of `DataStats` creation to return `DataSet[DataStats]`
instead of `DataStats`.
@thvasilo , I have integrated the statistics part with this. I hope that is
alright. Please have a look at `MLUtils.scala` to see the usage. If it's not,
I'd be happy to remove it.
---
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.
---