Description
StringIndexer should convert non-String input types to String. That way, it can handle any basic types such as Int, Double, etc.
It can convert any input type to strings first and store the string labels (instead of an arbitrary type). That will simplify model export/import.
Attachments
Issue Links
- blocks
-
SPARK-7126 For spark.ml Classifiers, automatically index labels if they are not yet indexed
- Resolved
- links to