ValueIndexer¶
-
class
ValueIndexer.ValueIndexer(inputCol=None, outputCol=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin,pyspark.ml.util.JavaMLReadable,pyspark.ml.util.JavaMLWritable,pyspark.ml.wrapper.JavaEstimatorFits a dictionary of values from the input column.
The
ValueIndexergenerates a model, then transforms a column to a categorical column of the given array of values. It is similar toStringIndexerexcept that it can be used on any value types.Parameters:
-
class
ValueIndexer.ValueIndexerModel(java_model=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin,pyspark.ml.wrapper.JavaModel,pyspark.ml.util.JavaMLWritable,pyspark.ml.util.JavaMLReadableModel fitted by
ValueIndexer.This class is left empty on purpose. All necessary methods are exposed through inheritance.