-
- Downloads
[SPARK-8744] [ML] Add a public constructor to StringIndexer
It would be helpful to allow users to pass a pre-computed index to create an indexer, rather than always going through StringIndexer to create the model. Author: Holden Karau <holden@pigscanfly.ca> Closes #7267 from holdenk/SPARK-8744-StringIndexerModel-should-have-public-constructor.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/StringIndexer.scala 3 additions, 1 deletion...ain/scala/org/apache/spark/ml/feature/StringIndexer.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/StringIndexerSuite.scala 2 additions, 0 deletions...cala/org/apache/spark/ml/feature/StringIndexerSuite.scala
Loading
Please register or sign in to comment