public class StandardScaler extends Estimator<StandardScalerModel> implements StandardScalerParams
Constructor and Description |
---|
StandardScaler() |
Modifier and Type | Method and Description |
---|---|
StandardScalerModel |
fit(DataFrame dataset,
ParamMap paramMap)
Fits a single model to the input data with provided parameter map.
|
StandardScaler |
setInputCol(String value) |
StandardScaler |
setOutputCol(String value) |
StructType |
transformSchema(StructType schema,
ParamMap paramMap)
:: DeveloperApi ::
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputCol, inputCol
getOutputCol, outputCol
addOutputColumn, checkInputColumn, explainParams, get, getParam, isSet, paramMap, params, set, set, validate, validate
uid
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public StandardScaler setInputCol(String value)
public StandardScaler setOutputCol(String value)
public StandardScalerModel fit(DataFrame dataset, ParamMap paramMap)
Estimator
fit
in class Estimator<StandardScalerModel>
dataset
- input datasetparamMap
- Parameter map.
These values override any specified in this Estimator's embedded ParamMap.public StructType transformSchema(StructType schema, ParamMap paramMap)
PipelineStage
Derives the output schema from the input schema and parameters. The schema describes the columns and types of the data.
transformSchema
in class PipelineStage
schema
- Input schema to this stageparamMap
- Parameters passed to this stage