final classTypedStringIndexer[Inputs] extends TypedEstimator[Inputs, Outputs, StringIndexerModel]
A label indexer that maps a string column of labels to an ML column of label indices.
The indices are in [0, numLabels), ordered by label frequencies.
So the most frequent label gets index 0.
A label indexer that maps a string column of labels to an ML column of label indices. The indices are in [0, numLabels), ordered by label frequencies. So the most frequent label gets index 0.
TypedIndexToString
for the inverse transformation