![]() |
GURLS++
2.0.00
C++ Implementation of GURLS Matlab Toolbox
|
Split is the class that splits data into pair(s) of training and test samples.
#include <split.h>
Public Member Functions | |
virtual GurlsOptionsList * | execute (const gMat2D< T > &X, const gMat2D< T > &Y, const GurlsOptionsList &opt)=0 |
Splits data into pair(s) of training and test samples, to be used for cross-validation. | |
Static Public Member Functions | |
static Split< T > * | factory (const std::string &id) throw (BadSplitCreation) |
Factory function returning a pointer to the newly created object. |
virtual GurlsOptionsList* gurls::Split< T >::execute | ( | const gMat2D< T > & | X, |
const gMat2D< T > & | Y, | ||
const GurlsOptionsList & | opt | ||
) | [pure virtual] |
X | not used |
Y | labels matrix |
opt | options with the different required fields based on the sub-class |
Implemented in gurls::SplitHo< T >.
static Split<T>* gurls::Split< T >::factory | ( | const std::string & | id | ) | throw (BadSplitCreation) [inline, static] |