Transform๏
Stability: Stable
What it is๏
Use Transform as the base contract for reusable preprocessing steps that implement fit, transform, and optional inversion.
Representative Signatures๏
Transform.fit(x)
Transform.transform(x)
Minimal Example๏
from gwexpy.timeseries import Transform
# Implement fit/transform in a subclass before using it inside Pipeline.
API Reference๏
The detailed generated API continues below on this page.
Inherits from: object
Minimal transform interface for TimeSeries-like objects.
Methods๏
fit๏
fit(self, x)
Fit the transform to the data. Returns self.
fit_transform๏
fit_transform(self, x)
Fit and transform in one step.
inverse_transform๏
inverse_transform(self, y)
Reverse the transform. Not all transforms support this.
transform๏
transform(self, x)
Apply the transform to data. Must be implemented by subclasses.