SignalModelΒΆ
Defined in fynance.core
- class SignalModel(*args, **kwargs)[source]
Bases:
ProtocolA predictive model mapping features to a target/signal.
The numpy boundary of the model layer:
predictreturns numpy even when the implementation is pytorch internally.- fit(X, y)[source]
Fit the model and return
self.
- predict(X)[source]
Return predictions as a numpy array.