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, waitgetInputCol, inputColgetOutputCol, outputColaddOutputColumn, checkInputColumn, explainParams, get, getParam, isSet, paramMap, params, set, set, validate, validateuidinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic StandardScaler setInputCol(String value)
public StandardScaler setOutputCol(String value)
public StandardScalerModel fit(DataFrame dataset, ParamMap paramMap)
Estimatorfit 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)
PipelineStageDerives the output schema from the input schema and parameters. The schema describes the columns and types of the data.
transformSchema in class PipelineStageschema - Input schema to this stageparamMap - Parameters passed to this stage