IndexToString (Spark 3.5.5 JavaDoc) (original) (raw)


public class IndexToString
extends Transformer
implements HasInputCol, HasOutputCol, DefaultParamsWritable
A Transformer that maps a column of indices back to a new column of corresponding string values. The index-string mapping is either from the ML attributes of the input column, or from user-supplied labels (which take precedence over ML attributes).
See Also:
StringIndexer for converting strings into indices, Serialized Form