Class: StandardScalerModel

eclairjs/ml/feature.StandardScalerModel

Model fitted by StandardScaler.

Constructor

new StandardScalerModel(std, mean)

Parameters:
Name Type Description
std Standard deviation of the StandardScalerModel
mean Mean of the StandardScalerModel
Source:

Extends

Methods

(static) load(path) → {StandardScalerModel}

Parameters:
Name Type Description
path string
Source:
Returns:
Type
StandardScalerModel

(static) read() → {MLReader}

Source:
Returns:
Type
MLReader

copy(extra) → {StandardScalerModel}

Parameters:
Name Type Description
extra module:eclairjs/ml/param.ParamMap
Source:
Returns:
Type
StandardScalerModel

save(path) → {Promise.<Void>}

Saves this ML instance to the input path, a shortcut of `write.save(path)`.
Parameters:
Name Type Description
path string
Inherited From:
Source:
Returns:
A Promise that resolves to nothing.
Type
Promise.<Void>

setInputCol(value) → {StandardScalerModel}

Parameters:
Name Type Description
value string
Source:
Returns:
Type
StandardScalerModel

setOutputCol(value) → {StandardScalerModel}

Parameters:
Name Type Description
value string
Source:
Returns:
Type
StandardScalerModel

transform(dataset) → {Dataset}

Parameters:
Name Type Description
dataset module:eclairjs/sql.Dataset
Source:
Returns:
Type
Dataset

transformSchema(schema) → {StructType}

Parameters:
Name Type Description
schema StructType
Source:
Returns:
Type
StructType

write() → {MLWriter}

Overrides:
Source:
Returns:
Type
MLWriter