quantlab.model.walk_forward_training.WalkForwardTrainable#
- class quantlab.model.walk_forward_training.WalkForwardTrainable(*args, **kwargs)[source]#
Bases:
ProtocolWhat
train_walk_forwardneeds from the unit it trains; all public.- Attributes:
- class_namestr
Names the trial directory, the summary run and error messages.
- model_save_dirPath
The directory the trial directory is created in.
- purge_barsint
Bars each fold’s training window loses (an ensemble’s: the largest over its members).
- trackerTracker
The tracker the CV summary run is opened through (an ensemble’s: its first member’s).
- tracking_projectstr
The default project of that run.
Examples
>>> isinstance(model, WalkForwardTrainable), isinstance(ensemble, WalkForwardTrainable) (True, True)