public interface OneHotEncoderBase extends Params, HasHandleInvalid, HasInputCol, HasInputCols, HasOutputCol, HasOutputCols
Modifier and Type | Method and Description |
---|---|
BooleanParam |
dropLast()
Whether to drop the last category in the encoded vector (default: true)
|
boolean |
getDropLast() |
scala.Tuple2<String[],String[]> |
getInOutCols()
Returns the input and output column names corresponding in pair.
|
Param<String> |
handleInvalid()
Param for how to handle invalid data during transform().
|
StructType |
validateAndTransformSchema(StructType schema,
boolean dropLast,
boolean keepInvalid) |
getHandleInvalid
getInputCol, inputCol
getInputCols, inputCols
getOutputCol, outputCol
getOutputCols, outputCols
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
BooleanParam dropLast()
boolean getDropLast()
scala.Tuple2<String[],String[]> getInOutCols()
Param<String> handleInvalid()
handleInvalid
in interface HasHandleInvalid
StructType validateAndTransformSchema(StructType schema, boolean dropLast, boolean keepInvalid)