aboutsummaryrefslogtreecommitdiff
path: root/include/crossval.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crossval.h')
-rw-r--r--include/crossval.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/crossval.h b/include/crossval.h
new file mode 100644
index 0000000..0dff0b9
--- /dev/null
+++ b/include/crossval.h
@@ -0,0 +1,25 @@
+/**
+ * @file crossval.h
+ * @author Gertjan van den Burg
+ * @date January, 2014
+ * @brief Header file for crossval.c
+ *
+ * @details
+ * Contains function declarations for functions needed for performing cross
+ * validation on MajData structures.
+ *
+ */
+
+#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