aboutsummaryrefslogtreecommitdiff
path: root/assembly/pom.xml
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2016-11-13 20:25:12 -0800
committerYanbo Liang <ybliang8@gmail.com>2016-11-13 20:25:12 -0800
commit07be232ea12dfc8dc3701ca948814be7dbebf4ee (patch)
tree856a17d84397a6205c6cc5c83c25c8cdfe09d21b /assembly/pom.xml
parentb91a51bb231af321860415075a7f404bc46e0a74 (diff)
downloadspark-07be232ea12dfc8dc3701ca948814be7dbebf4ee.tar.gz
spark-07be232ea12dfc8dc3701ca948814be7dbebf4ee.tar.bz2
spark-07be232ea12dfc8dc3701ca948814be7dbebf4ee.zip
[SPARK-18412][SPARKR][ML] Fix exception for some SparkR ML algorithms training on libsvm data
## What changes were proposed in this pull request? * Fix the following exceptions which throws when ```spark.randomForest```(classification), ```spark.gbt```(classification), ```spark.naiveBayes``` and ```spark.glm```(binomial family) were fitted on libsvm data. ``` java.lang.IllegalArgumentException: requirement failed: If label column already exists, forceIndexLabel can not be set with true. ``` See [SPARK-18412](https://issues.apache.org/jira/browse/SPARK-18412) for more detail about how to reproduce this bug. * Refactor out ```getFeaturesAndLabels``` to RWrapperUtils, since lots of ML algorithm wrappers use this function. * Drop some unwanted columns when making prediction. ## How was this patch tested? Add unit test. Author: Yanbo Liang <ybliang8@gmail.com> Closes #15851 from yanboliang/spark-18412.
Diffstat (limited to 'assembly/pom.xml')
0 files changed, 0 insertions, 0 deletions