Package org.apache.spark.ml.feature
Interface RobustScalerParams
- All Superinterfaces:
HasInputCol
,HasOutputCol
,HasRelativeError
,Identifiable
,Params
,Serializable
- All Known Implementing Classes:
RobustScaler
,RobustScalerModel
Params for
RobustScaler
and RobustScalerModel
.-
Method Summary
Modifier and TypeMethodDescriptiondouble
getLower()
double
getUpper()
boolean
boolean
lower()
Lower quantile to calculate quantile range, shared by all features Default: 0.25upper()
Upper quantile to calculate quantile range, shared by all features Default: 0.75validateAndTransformSchema
(StructType schema) Validates and transforms the input schema.Whether to center the data with median before scaling.Whether to scale the data to quantile range.Methods inherited from interface org.apache.spark.ml.param.shared.HasInputCol
getInputCol, inputCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasOutputCol
getOutputCol, outputCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasRelativeError
getRelativeError, relativeError
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
-
Method Details
-
getLower
double getLower() -
getUpper
double getUpper() -
getWithCentering
boolean getWithCentering() -
getWithScaling
boolean getWithScaling() -
lower
DoubleParam lower()Lower quantile to calculate quantile range, shared by all features Default: 0.25- Returns:
- (undocumented)
-
upper
DoubleParam upper()Upper quantile to calculate quantile range, shared by all features Default: 0.75- Returns:
- (undocumented)
-
validateAndTransformSchema
Validates and transforms the input schema. -
withCentering
BooleanParam withCentering()Whether to center the data with median before scaling. It will build a dense output, so take care when applying to sparse input. Default: false- Returns:
- (undocumented)
-
withScaling
BooleanParam withScaling()Whether to scale the data to quantile range. Default: true- Returns:
- (undocumented)
-