|
PLearn 0.1
|


Go to the source code of this file.
Classes | |
| class | PLearn::Splitter |
| This class is an abstract base class for mechanisms allowing to "split" a dataset into one or several partitions (or "splits"). More... | |
| class | PLearn::DiffTemplate< ObjectType, Splitter > |
| class | PLearn::TypeTraits< Splitter > |
Namespaces | |
| namespace | PLearn |
< for swap | |
Functions | |
| Object * | PLearn::toObjectPtr (const Splitter &o) |
| PStream & | PLearn::operator>> (PStream &in, Splitter &o) |
| PStream & | PLearn::operator>> (PStream &in, Splitter *&o) |
| PStream & | PLearn::operator<< (PStream &out, const Splitter &o) |
| PStream & | PLearn::operator>> (PStream &in, PP< Splitter > &o) |
| template<class ObjectType > | |
| int | PLearn::diff (const string &refer, const string &other, const Option< ObjectType, Splitter > *opt, PLearnDiff *diffs) |
| void | PLearn::split (VMat d, real test_fraction, VMat &train, VMat &test, int i, bool use_all) |
| void | PLearn::split (VMat d, real validation_fraction, real test_fraction, VMat &train, VMat &valid, VMat &test, bool do_shuffle=false) |
| Splits the dataset d into 3 subsets. | |
| Vec | PLearn::randomSplit (VMat d, real test_fraction, VMat &train, VMat &test) |
| void | PLearn::randomSplit (VMat d, real validation_fraction, real test_fraction, VMat &train, VMat &valid, VMat &test) |
| Splits the dataset d into 3 subsets (similar to above) | |
Definition in file Splitter.h.
1.7.4