|
PLearn 0.1
|
#include "Splitter.h"#include "VMat.h"#include "ConcatRowsVMatrix.h"#include "ConcatColumnsVMatrix.h"#include <plearn/math/random.h>
Go to the source code of this file.
Namespaces | |
| namespace | PLearn |
< for swap | |
Functions | |
| void | PLearn::split (VMat d, real test_fraction, VMat &train, VMat &test, int i, bool use_all) |
| Vec | PLearn::randomSplit (VMat d, real test_fraction, VMat &train, VMat &test) |
| 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. | |
| 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.cc.
1.7.4