Loading...

vastorbit.machine_learning.memmodel.preprocessing.Scaler

class vastorbit.machine_learning.memmodel.preprocessing.Scaler(sub: Annotated[list | ndarray, 'Array Like Structure'], den: Annotated[list | ndarray, 'Array Like Structure'])

InMemoryModel implementation of scalers.

Parameters:
  • sub (ArrayLike) – Model’s features first aggregation.

  • den (ArrayLike) – Model’s features second aggregation.

  • rubric: (..) – Attributes:

  • input (Attributes are identical to the)

  • parameters

  • underscore (followed by an)

  • ('_').

Examples

This is a base class. To see a comprehensive example specific to your class of interest, please refer to that particular class.

__init__(sub: Annotated[list | ndarray, 'Array Like Structure'], den: Annotated[list | ndarray, 'Array Like Structure']) None

Methods

__init__(sub, den)

get_attributes()

Returns the model attributes.

set_attributes(**kwargs)

Sets the model attributes.

transform(X)

Transforms and applies the Scaler model to the input matrix.

transform_sql(X)

Transforms and returns the SQL needed to deploy the Scaler.

Attributes

object_type

Must be overridden in child class