class FastVectorAssembler extends Transformer with HasInputCols with HasOutputCol with DefaultParamsWritable
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). Does not keep spurious numeric data which can significantly slow down computations when there are millions of columns.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FastVectorAssembler
- DefaultParamsWritable
- MLWritable
- HasOutputCol
- HasInputCols
- Transformer
- PipelineStage
- Logging
- Params
- Serializable
- Serializable
- Identifiable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
clear(param: Param[_]): FastVectorAssembler.this.type
- Definition Classes
- Params
-
def
copy(extra: ParamMap): FastVectorAssembler
- Definition Classes
- FastVectorAssembler → Transformer → PipelineStage → Params
-
def
explainParam(param: Param[_]): String
- Definition Classes
- Params
-
def
explainParams(): String
- Definition Classes
- Params
-
final
def
extractParamMap(): ParamMap
- Definition Classes
- Params
-
final
def
extractParamMap(extra: ParamMap): ParamMap
- Definition Classes
- Params
-
final
def
get[T](param: Param[T]): Option[T]
- Definition Classes
- Params
-
final
def
getDefault[T](param: Param[T]): Option[T]
- Definition Classes
- Params
-
final
def
getInputCols: Array[String]
- Definition Classes
- HasInputCols
-
final
def
getOrDefault[T](param: Param[T]): T
- Definition Classes
- Params
-
final
def
getOutputCol: String
- Definition Classes
- HasOutputCol
-
def
getParam(paramName: String): Param[Any]
- Definition Classes
- Params
-
final
def
hasDefault[T](param: Param[T]): Boolean
- Definition Classes
- Params
-
def
hasParam(paramName: String): Boolean
- Definition Classes
- Params
-
final
val
inputCols: StringArrayParam
- Definition Classes
- HasInputCols
-
final
def
isDefined(param: Param[_]): Boolean
- Definition Classes
- Params
-
final
def
isSet(param: Param[_]): Boolean
- Definition Classes
- Params
-
final
val
outputCol: Param[String]
- Definition Classes
- HasOutputCol
-
lazy val
params: Array[Param[_]]
- Definition Classes
- Params
-
def
save(path: String): Unit
- Definition Classes
- MLWritable
- Annotations
- @Since( "1.6.0" ) @throws( ... )
-
final
def
set[T](param: Param[T], value: T): FastVectorAssembler.this.type
- Definition Classes
- Params
- def setInputCols(value: Array[String]): FastVectorAssembler.this.type
- def setOutputCol(value: String): FastVectorAssembler.this.type
-
def
toString(): String
- Definition Classes
- Identifiable → AnyRef → Any
-
def
transform(dataset: Dataset[_]): DataFrame
- Definition Classes
- FastVectorAssembler → Transformer
-
def
transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
- Definition Classes
- Transformer
- Annotations
- @Since( "2.0.0" )
-
def
transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
- Definition Classes
- Transformer
- Annotations
- @Since( "2.0.0" ) @varargs()
-
def
transformSchema(schema: StructType): StructType
- Definition Classes
- FastVectorAssembler → PipelineStage
-
val
uid: String
- Definition Classes
- FastVectorAssembler → Identifiable
-
def
write: MLWriter
- Definition Classes
- DefaultParamsWritable → MLWritable