![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
The lengths of a fold, in positions. More...
#include <algotradelib/src/backtest/folds.hpp>
Public Attributes | |
| std::size_t | train_ {0} |
| The training range's length (for Expanding, the first fold's); positive. | |
| std::size_t | test_ {0} |
| The test range's length; zero makes each fold a plain window, train_. | |
| std::size_t | step_ {0} |
| How far each fold's test range starts after the previous one's; positive. | |
| std::size_t | warmup_ {0} |
| The positions of history every range has before it. | |
| std::size_t algotradelib::backtest::FoldLengths::step_ {0} |
| std::size_t algotradelib::backtest::FoldLengths::test_ {0} |
| std::size_t algotradelib::backtest::FoldLengths::train_ {0} |
The training range's length (for Expanding, the first fold's); positive.
Definition at line 30 of file folds.hpp.
Referenced by algotradelib::backtest::Rolling::train().
| std::size_t algotradelib::backtest::FoldLengths::warmup_ {0} |
The positions of history every range has before it.
Definition at line 36 of file folds.hpp.
Referenced by algotradelib::backtest::Expanding::train().