aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_train_dataset.h
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2015-01-30 16:22:52 +0100
committerGertjan van den Burg <burg@ese.eur.nl>2015-01-30 16:22:52 +0100
commitdf9c3ca0b62f1a20071bee3a55d24d673c5d11e0 (patch)
treed3a2d6be5dfe6e2a4e248ad04dfdbb40852c8f7a /include/gensvm_train_dataset.h
parentupdate documentation gensvm structs (diff)
downloadgensvm-df9c3ca0b62f1a20071bee3a55d24d673c5d11e0.tar.gz
gensvm-df9c3ca0b62f1a20071bee3a55d24d673c5d11e0.zip
first working version of new kernel GenSVM
Diffstat (limited to 'include/gensvm_train_dataset.h')
-rw-r--r--include/gensvm_train_dataset.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gensvm_train_dataset.h b/include/gensvm_train_dataset.h
index 299bc52..0dc4319 100644
--- a/include/gensvm_train_dataset.h
+++ b/include/gensvm_train_dataset.h
@@ -136,4 +136,12 @@ void make_model_from_task(struct Task *task, struct GenModel *model);
void copy_model(struct GenModel *from, struct GenModel *to);
void print_progress_string(struct Task *task, long N);
+
+// new
+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