-
- Downloads
[SPARK-7844] [MLLIB] Fix broken tests in KernelDensity
The densities in KernelDensity are scaled down by (number of parallel processes X number of points). It should be just no.of samples. This results in broken tests in KernelDensitySuite which haven't been tested properly. Author: MechCoder <manojkumarsivaraj334@gmail.com> Closes #6383 from MechCoder/spark-7844 and squashes the following commits: ab81302 [MechCoder] Math->math 9b8ed50 [MechCoder] Make one pass to update count a92fe50 [MechCoder] [SPARK-7844] Fix broken tests in KernelDensity
Showing
- mllib/src/main/scala/org/apache/spark/mllib/stat/KernelDensity.scala 1 addition, 1 deletion...ain/scala/org/apache/spark/mllib/stat/KernelDensity.scala
- mllib/src/test/scala/org/apache/spark/mllib/stat/KernelDensitySuite.scala 6 additions, 4 deletions...cala/org/apache/spark/mllib/stat/KernelDensitySuite.scala
Loading
Please register or sign in to comment