-
- Downloads
[SPARK-13036][SPARK-13318][SPARK-13319] Add save/load for feature.py
Add save/load for feature.py. Meanwhile, add save/load for `ElementwiseProduct` in Scala side and fix a bug of missing `setDefault` in `VectorSlicer` and `StopWordsRemover`. In this PR I ignore the `RFormula` and `RFormulaModel` because its Scala implementation is pending in https://github.com/apache/spark/pull/9884. I'll add them in this PR if https://github.com/apache/spark/pull/9884 gets merged first. Or add a follow-up JIRA for `RFormula`. Author: Xusen Yin <yinxusen@gmail.com> Closes #11203 from yinxusen/SPARK-13036.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/ElementwiseProduct.scala 10 additions, 3 deletions...cala/org/apache/spark/ml/feature/ElementwiseProduct.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/ElementwiseProductSuite.scala 35 additions, 0 deletions...org/apache/spark/ml/feature/ElementwiseProductSuite.scala
- python/pyspark/ml/feature.py 296 additions, 45 deletionspython/pyspark/ml/feature.py
This diff is collapsed.
Please register or sign in to comment