-
- Downloads
[SPARK-18698][ML] Adding public constructor that takes uid for IndexToString
## What changes were proposed in this pull request? Based on SPARK-18698, this adds a public constructor that takes a UID for IndexToString. Other transforms have similar constructors. ## How was this patch tested? A unit test was added to verify the new functionality. Author: Ilya Matiach <ilmat@microsoft.com> Closes #16436 from imatiach-msft/ilmat/fix-indextostring.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/StringIndexer.scala 1 addition, 1 deletion...ain/scala/org/apache/spark/ml/feature/StringIndexer.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/StringIndexerSuite.scala 7 additions, 1 deletion...cala/org/apache/spark/ml/feature/StringIndexerSuite.scala
Please register or sign in to comment