ValueIndexer¶
-
class
ValueIndexer.
ValueIndexer
(inputCol=None, outputCol=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin
,pyspark.ml.util.JavaMLReadable
,pyspark.ml.util.JavaMLWritable
,pyspark.ml.wrapper.JavaEstimator
Fits a dictionary of values from the input column.
The
ValueIndexer
generates a model, then transforms a column to a categorical column of the given array of values. It is similar toStringIndexer
except 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.JavaMLReadable
Model fitted by
ValueIndexer
.This class is left empty on purpose. All necessary methods are exposed through inheritance.