-
- Downloads
[SPARK-20307][ML][SPARKR][FOLLOW-UP] RFormula should handle invalid for both...
[SPARK-20307][ML][SPARKR][FOLLOW-UP] RFormula should handle invalid for both features and label column. ## What changes were proposed in this pull request? ```RFormula``` should handle invalid for both features and label column. #18496 only handle invalid values in features column. This PR add handling invalid values for label column and test cases. ## How was this patch tested? Add test cases. Author: Yanbo Liang <ybliang8@gmail.com> Closes #18613 from yanboliang/spark-20307.
Showing
- R/pkg/tests/fulltests/test_mllib_tree.R 1 addition, 1 deletionR/pkg/tests/fulltests/test_mllib_tree.R
- mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala 5 additions, 4 deletions...src/main/scala/org/apache/spark/ml/feature/RFormula.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/RFormulaSuite.scala 48 additions, 1 deletion...est/scala/org/apache/spark/ml/feature/RFormulaSuite.scala
- python/pyspark/ml/feature.py 3 additions, 2 deletionspython/pyspark/ml/feature.py
Loading
Please register or sign in to comment