Standardization

Standardization and normalization of numeric columns

ScaleStandard

ScaleStandard(self, inputs)

A step for normalizing select numeric columns to have a standard deviation of one and a mean of zero.

Parameters

Name Type Description Default
inputs SelectionType A selection of columns to normalize. All columns must be numeric. required

Examples

>>> import ibis_ml as ml

Normalize all numeric columns.

>>> step = ml.ScaleStandard(ml.numeric())

Normalize a specific set of columns.

>>> step = ml.ScaleStandard(["x", "y"])
Back to top