FastVectorAssembler¶
-
class
FastVectorAssembler.
FastVectorAssembler
(inputCols=None, outputCol=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin
,pyspark.ml.util.JavaMLReadable
,pyspark.ml.util.JavaMLWritable
,pyspark.ml.wrapper.JavaTransformer
A fast vector assembler. The columns given must be ordered such that categorical columns come first. Otherwise, Spark learners will give categorical attributes to the wrong index. The assembler does not keep spurious numeric data which can significantly slow down computations when there are millions of columns.
To use this
FastVectorAssemble
you must import theorg.apache.spark.ml.feature
package.Parameters: