![]() |
SG++-Doxygen-Documentation
|
A class to provide functionality to shuffle (reorder) the data samples before the sample provider accesses it. More...
#include <DataShufflingFunctor.hpp>
Public Member Functions | |
| virtual DataShufflingFunctor * | clone () const =0 |
| Polymorphic clone pattern. More... | |
| DataShufflingFunctor () | |
| DataShufflingFunctor (const DataShufflingFunctor &rhs)=default | |
| DataShufflingFunctor (DataShufflingFunctor &&rhs)=default | |
| virtual size_t | operator() (size_t idx, size_t numSamples)=0 |
| Overload the function-call operator that maps indexes to indexes via a permutation of the entire index set. More... | |
| DataShufflingFunctor & | operator= (const DataShufflingFunctor &rhs)=default |
| DataShufflingFunctor & | operator= (DataShufflingFunctor &&rhs)=default |
| virtual | ~DataShufflingFunctor ()=default |
A class to provide functionality to shuffle (reorder) the data samples before the sample provider accesses it.
This is neccessary for cross validation and general shuffling of data.
| sgpp::datadriven::DataShufflingFunctor::DataShufflingFunctor | ( | ) |
|
default |
|
default |
|
virtualdefault |
|
pure virtual |
Polymorphic clone pattern.
Implemented in sgpp::datadriven::DataShufflingFunctorCrossValidation, sgpp::datadriven::DataShufflingFunctorRandom, and sgpp::datadriven::DataShufflingFunctorSequential.
|
pure virtual |
Overload the function-call operator that maps indexes to indexes via a permutation of the entire index set.
| idx | the original index |
| numSamples | the number of indexes to permute in total |
Implemented in sgpp::datadriven::DataShufflingFunctorCrossValidation, sgpp::datadriven::DataShufflingFunctorRandom, and sgpp::datadriven::DataShufflingFunctorSequential.
|
default |
|
default |