aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_train.h
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2016-05-16 21:41:27 +0200
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2016-05-16 21:41:27 +0200
commit2584591266e434140a94d818402745f34fb3acf3 (patch)
tree2faeb4f27b6b4101149e608657d2d018249e73c1 /include/gensvm_train.h
parentmajor refactor of the code (diff)
downloadgensvm-2584591266e434140a94d818402745f34fb3acf3.tar.gz
gensvm-2584591266e434140a94d818402745f34fb3acf3.zip
create a single training function for easy external access
Diffstat (limited to 'include/gensvm_train.h')
-rw-r--r--include/gensvm_train.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/gensvm_train.h b/include/gensvm_train.h
new file mode 100644
index 0000000..c410cef
--- /dev/null
+++ b/include/gensvm_train.h
@@ -0,0 +1,21 @@
+/**
+ * @file gensvm_train.h
+ * @author Gertjan van den Burg
+ * @date May, 2016
+ * @brief Header file for gensvm_train.c
+ *
+ */
+
+#ifndef GENSVM_TRAIN_H
+#define GENSVM_TRAIN_H
+
+// includes
+#include "gensvm_init.h"
+#include "gensvm_kernel.h"
+#include "gensvm_optimize.h"
+
+// function declarations
+void gensvm_train(struct GenModel *model, struct GenData *data,
+ struct GenModel *seed_model);
+
+#endif