public class StandardScalerModel extends Model<StandardScalerModel> implements StandardScalerParams
StandardScaler
.Constructor and Description |
---|
StandardScalerModel(StandardScaler parent,
ParamMap fittingParamMap,
StandardScalerModel scaler) |
Modifier and Type | Method and Description |
---|---|
ParamMap |
fittingParamMap()
Fitting parameters, such that parent.fit(..., fittingParamMap) could reproduce the model.
|
StandardScaler |
parent()
The parent estimator that produced this model.
|
StandardScalerModel |
setInputCol(String value) |
StandardScalerModel |
setOutputCol(String value) |
DataFrame |
transform(DataFrame dataset,
ParamMap paramMap)
Transforms the dataset with provided parameter map as additional parameters.
|
StructType |
transformSchema(StructType schema,
ParamMap paramMap)
:: DeveloperApi ::
|
transform, transform
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 StandardScalerModel(StandardScaler parent, ParamMap fittingParamMap, StandardScalerModel scaler)
public StandardScaler parent()
Model
parent
in class Model<StandardScalerModel>
public ParamMap fittingParamMap()
Model
fittingParamMap
in class Model<StandardScalerModel>
public StandardScalerModel setInputCol(String value)
public StandardScalerModel setOutputCol(String value)
public DataFrame transform(DataFrame dataset, ParamMap paramMap)
Transformer
transform
in class Transformer
dataset
- input datasetparamMap
- additional parameters, overwrite embedded paramspublic 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