aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2015-02-20 16:39:52 +0100
committerGertjan van den Burg <burg@ese.eur.nl>2015-02-20 16:39:52 +0100
commit6fa450d7d56cf3535648fb02f92f042df6c928fc (patch)
tree74b2f523913a9a891d8be64e39abc3c9219b33ac /include
parentadded init and free functions for training struct and queue (diff)
downloadgensvm-6fa450d7d56cf3535648fb02f92f042df6c928fc.tar.gz
gensvm-6fa450d7d56cf3535648fb02f92f042df6c928fc.zip
fixed some memory leaks and made prctile actual percentile
Diffstat (limited to 'include')
-rw-r--r--include/gensvm_train_dataset.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gensvm_train_dataset.h b/include/gensvm_train_dataset.h
index 0dc4319..d201aa5 100644
--- a/include/gensvm_train_dataset.h
+++ b/include/gensvm_train_dataset.h
@@ -18,6 +18,10 @@
#include "globals.h"
#include "types.h"
+// forward declarations
+struct GenData;
+struct GenModel;
+
/**
* @brief A structure for a single task in the queue.
*
@@ -142,6 +146,4 @@ void start_training(struct Queue *q);
double gensvm_cross_validation(struct GenModel *model,
struct GenData **train_folds, struct GenData **test_folds,
int folds, long n_total);
-
-
#endif