diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2013-10-18 15:48:59 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2013-10-18 15:48:59 +0200 |
| commit | 6d064658f8ae7ca0f42fef6dcc7f896144e9637b (patch) | |
| tree | a41e8793f71f637b68f862220ae5566f4537073d /include/crossval.h | |
| parent | allow seeding of V and added documentation (diff) | |
| download | gensvm-6d064658f8ae7ca0f42fef6dcc7f896144e9637b.tar.gz gensvm-6d064658f8ae7ca0f42fef6dcc7f896144e9637b.zip | |
restart using git
Diffstat (limited to 'include/crossval.h')
| -rw-r--r-- | include/crossval.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/crossval.h b/include/crossval.h new file mode 100644 index 0000000..0794622 --- /dev/null +++ b/include/crossval.h @@ -0,0 +1,13 @@ +#ifndef CROSSVAL_H +#define CROSSVAL_H + +#include "globals.h" + +// forward delaration +struct MajData; + +void msvmmaj_make_cv_split(long N, long folds, long *cv_idx); +void msvmmaj_get_tt_split(struct MajData *full_data, struct MajData *train_data, + struct MajData *test_data, long *cv_idx, long fold_idx); + +#endif |
