aboutsummaryrefslogtreecommitdiff
path: root/include/crossval.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crossval.h')
-rw-r--r--include/crossval.h13
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