[ https://issues.apache.org/jira/browse/FLINK-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730867#comment-14730867 ]
ASF GitHub Bot commented on FLINK-2030: --------------------------------------- Github user sachingoel0101 commented on the pull request: https://github.com/apache/flink/pull/861#issuecomment-137748205 Hello @thvasilo , I was unable to access the `create...` functions from the scala API. I'm not sure how to pass a `DataSet[Double]` to a `DataSet[java.lang.Double]` function. I am using the following right now: ```scala class DoubleDataSetUtils(val self: DataSet[Double]) { def createDiscreteHistogram: DataSet[DiscreteHistogram] = { wrap(jutils.DataSetUtils.createDiscreteHistogram(self.javaSet)) } } implicit def utilsToDoubleDataSet(dataSet: DataSet[Double]) = new DoubleDataSetUtils(dataSet) ``` I'm not terribly familiar with the `TypeInformation` and `ClassTag` mechanisms. As for docs, where should I put them? Currently, the java docs for the class themselves are written properly. However, there is a file named `zip_elements_guide.md` under `apis` folder. Should I rename that instead to `Data Set Utilities` and add histogram docs there itself? > Implement discrete and continuous histograms > -------------------------------------------- > > Key: FLINK-2030 > URL: https://issues.apache.org/jira/browse/FLINK-2030 > Project: Flink > Issue Type: Sub-task > Components: Core > Reporter: Sachin Goel > Assignee: Sachin Goel > Priority: Minor > > For the implementation of the decision tree in > https://issues.apache.org/jira/browse/FLINK-1727, we need to implement an > histogram with online updates, merging and equalization features. A reference > implementation is provided in [1] > [1].http://www.jmlr.org/papers/volume11/ben-haim10a/ben-haim10a.pdf -- This message was sent by Atlassian JIRA (v6.3.4#6332)