Repository: spark
Updated Branches:
refs/heads/branch-1.6 528e37352 -> f0cc511ec
[SPARK-13444][MLLIB] QuantileDiscretizer chooses bad splits on large DataFrames
## What changes were proposed in this pull request?
Change line 113 of QuantileDiscretizer.scala to
`val requiredSamples = math.max
Repository: spark
Updated Branches:
refs/heads/branch-1.6 3cc938ac8 -> cb869a143
[SPARK-13444][MLLIB] QuantileDiscretizer chooses bad splits on large DataFrames
Change line 113 of QuantileDiscretizer.scala to
`val requiredSamples = math.max(numBins * numBins, 1.0)`
so that `requiredSampl
Repository: spark
Updated Branches:
refs/heads/master 3fa6491be -> 6f8e835c6
[SPARK-13444][MLLIB] QuantileDiscretizer chooses bad splits on large DataFrames
## What changes were proposed in this pull request?
Change line 113 of QuantileDiscretizer.scala to
`val requiredSamples = math.max(num