From 993c503ce1b440be6947bc91fbf1fa6098569b51 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 9 May 2016 20:45:06 +0200 Subject: use gensvm namespace for all crossval/timer/util --- include/gensvm_crossval.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/gensvm_crossval.h (limited to 'include/gensvm_crossval.h') diff --git a/include/gensvm_crossval.h b/include/gensvm_crossval.h new file mode 100644 index 0000000..fa3cca7 --- /dev/null +++ b/include/gensvm_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 GenData structures. + * + */ + +#ifndef GENSVM_CROSSVAL_H +#define GENSVM_CROSSVAL_H + +#include "globals.h" + +// forward delaration +struct GenData; + +void gensvm_make_cv_split(long N, long folds, long *cv_idx); +void gensvm_get_tt_split(struct GenData *full_data, struct GenData *train_data, + struct GenData *test_data, long *cv_idx, long fold_idx); + +#endif -- cgit v1.2.3