Fits the dictionary of values from the input column.
Fits the dictionary of values from the input column.
The input dataset to train.
The model for transforming columns to categorical.
The name of the input column
The name of the input column
The name of the output column
The name of the output column
Fits a dictionary of values from the input column. Model then transforms a column to a categorical column of the given array of values. Similar to StringIndexer except it can be used on any value types.