commonpower.data_forecasting.nn_forecasting.transform.IdentityTransform

class IdentityTransform[source]

Bases: Transformation

Methods

fit

Fit the transformation to the data.

from_checkpoint

inverse

Inverse transform the data.

load_state_dict

Load the state of the transformation.

state_dict

Return the state of the transformation.

__call__(data: ndarray) ndarray[source]

Transform the data.

fit(data: ndarray)[source]

Fit the transformation to the data.

inverse(data: ndarray) ndarray[source]

Inverse transform the data.

load_state_dict(state_dict: dict) None[source]

Load the state of the transformation.

state_dict() dict[source]

Return the state of the transformation.