aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gensvm_optimize.h4
-rw-r--r--include/gensvm_train.h21
2 files changed, 23 insertions, 2 deletions
diff --git a/include/gensvm_optimize.h b/include/gensvm_optimize.h
index 7a23bdb..1041b72 100644
--- a/include/gensvm_optimize.h
+++ b/include/gensvm_optimize.h
@@ -10,8 +10,8 @@
*
*/
-#ifndef GENSVM_TRAIN_H
-#define GENSVM_TRAIN_H
+#ifndef GENSVM_OPTIMIZE_H
+#define GENSVM_OPTIMIZE_H
#include "gensvm_sv.h"
#include "gensvm_print.h"
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