Template class for creating training/validation split according to a specific strategy.
More...
#include <strategy_cv.hpp>
template<
CV_STRAT cv_strat>
class cv_strategy< cv_strat >
Template class for creating training/validation split according to a specific strategy.
- Template Parameters
-
| cv_strat | is the splitting training/validation strategy |
◆ cv_strategy()
Constructor taking minimum and maximum dimension of the training set.
- Parameters
-
| min_dim_ts | minimum dimension of the training set |
| max_dim_ts | maximum dimension of the training set |
◆ strategy()
Getter for the splitting training/validation.
- Returns
- the private m_strategy
◆ train_validation_set()
For a fixed given split training/validation according to augmenting window strategy, returns the two sets. Tag-dispacther.
- Parameters
-
| data | matrix containing the fts |
| strat | a given split training/validation |
◆ train_validation_set_strategy()
| void cv_strategy< cv_strat >::train_validation_set_strategy |
( |
int | min_dim_ts, |
|
|
int | max_dim_ts ) |
|
inline |
Creating the training/validation split. Tag-dispacther.
- Parameters
-
| min_dim_ts | minimum dimension of the training set |
| max_dim_ts | maximum dimension of the training set |
the method is called in the constructor, and update the private member 'm_strategy'
The documentation for this class was generated from the following files: