public interface OneHotEncoderBase extends Params, HasHandleInvalid, HasInputCols, HasOutputCols
Modifier and Type | Method and Description |
---|---|
BooleanParam |
dropLast()
Whether to drop the last category in the encoded vector (default: true)
|
boolean |
getDropLast() |
Param<String> |
handleInvalid()
Param for how to handle invalid data during transform().
|
StructType |
validateAndTransformSchema(StructType schema,
boolean dropLast,
boolean keepInvalid) |
getHandleInvalid
getInputCols, inputCols
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()
Param<String> handleInvalid()
handleInvalid
in interface HasHandleInvalid
StructType validateAndTransformSchema(StructType schema, boolean dropLast, boolean keepInvalid)