FeatureTransformΒΆ
Defined in fynance.core
- class FeatureTransform(*args, **kwargs)[source]
Bases:
ProtocolA stateful or stateless feature transformation.
fitrecords only past-derivable parameters (e.g. train-slice mean and std);transformmust be causal (output attuses inputs up totonly).- fit(X)[source]
Fit any parameters and return
self.
- transform(X)[source]
Return the transformed array.