Loading...

Preprocessing#


Scaler#

preprocessing.Scaler(sub, den)

InMemoryModel implementation of scalers.

Methods:

Scaler.get_attributes()

Returns the model attributes.

Scaler.set_attributes(**kwargs)

Sets the model attributes.

Scaler.transform(X)

Transforms and applies the Scaler model to the input matrix.

Scaler.transform_sql(X)

Transforms and returns the SQL needed to deploy the Scaler.

Attributes:

Scaler.object_type

Must be overridden in child class


Standard Scaler#

preprocessing.StandardScaler(mean, std)

InMemoryModel implementation of standard Scaler.

Methods:

StandardScaler.get_attributes()

Returns the model attributes.

StandardScaler.set_attributes(**kwargs)

Sets the model attributes.

StandardScaler.transform(X)

Transforms and applies the Scaler model to the input matrix.

StandardScaler.transform_sql(X)

Transforms and returns the SQL needed to deploy the Scaler.

Attributes:

StandardScaler.object_type

Must be overridden in child class


Min Max Scaler#

preprocessing.MinMaxScaler(min_, max_)

InMemoryModel implementation of MinMax scaler.

Methods:

MinMaxScaler.get_attributes()

Returns the model attributes.

MinMaxScaler.set_attributes(**kwargs)

Sets the model attributes.

MinMaxScaler.transform(X)

Transforms and applies the Scaler model to the input matrix.

MinMaxScaler.transform_sql(X)

Transforms and returns the SQL needed to deploy the Scaler.

Attributes:

MinMaxScaler.object_type

Must be overridden in child class


One Hot Encoder#

preprocessing.OneHotEncoder(categories[, ...])

InMemoryModel implementation of one-hot encoder.

Methods:

OneHotEncoder.get_attributes()

Returns the model attributes.

OneHotEncoder.set_attributes(**kwargs)

Sets the model attributes.

OneHotEncoder.transform(X)

Transforms and applies the OneHotEncoder model to the input matrix.

OneHotEncoder.transform_sql(X)

Transforms and returns the SQL needed to deploy the Scaler.

Attributes:

OneHotEncoder.object_type

Must be overridden in child class