public class StandardScaler extends Estimator<StandardScalerModel> implements StandardScalerParams
Constructor and Description |
---|
StandardScaler() |
Modifier and Type | Method and Description |
---|---|
StandardScalerModel |
fit(SchemaRDD dataset,
ParamMap paramMap)
Fits a single model to the input data with provided parameter map.
|
StandardScaler |
setInputCol(String value) |
StandardScaler |
setOutputCol(String value) |
org.apache.spark.sql.catalyst.types.StructType |
transformSchema(org.apache.spark.sql.catalyst.types.StructType schema,
ParamMap paramMap)
Derives the output schema from the input schema and parameters.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputCol, inputCol
getOutputCol, outputCol
explainParams, get, getParam, isSet, paramMap, params, 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(SchemaRDD dataset, ParamMap paramMap)
Estimator
fit
in class Estimator<StandardScalerModel>
dataset
- input datasetparamMap
- parameter mappublic org.apache.spark.sql.catalyst.types.StructType transformSchema(org.apache.spark.sql.catalyst.types.StructType schema, ParamMap paramMap)
PipelineStage
transformSchema
in class PipelineStage