aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2013-10-22 18:59:59 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2013-10-22 18:59:59 +0200
commitadf4ed1172853740710c26c6e1d3e70a47ff6e7c (patch)
tree818bd53157c34b4110ea8c97d13c6a9fba29963d /include
parentrestart using git (diff)
downloadgensvm-adf4ed1172853740710c26c6e1d3e70a47ff6e7c.tar.gz
gensvm-adf4ed1172853740710c26c6e1d3e70a47ff6e7c.zip
started work on including kernels
Diffstat (limited to 'include')
-rw-r--r--include/MSVMMaj.h3
-rw-r--r--include/kernel.h11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/MSVMMaj.h b/include/MSVMMaj.h
index 5c3efb8..de99f91 100644
--- a/include/MSVMMaj.h
+++ b/include/MSVMMaj.h
@@ -2,6 +2,7 @@
#define MSVMMAJ_H
#include "globals.h"
+#include "types.h"
/*
Model structure
@@ -27,6 +28,8 @@ struct MajModel {
double *rho;
double training_error;
char *data_file;
+ KernelType kerneltype;
+ double *kernelparam;
};
/*
diff --git a/include/kernel.h b/include/kernel.h
new file mode 100644
index 0000000..ac5c35d
--- /dev/null
+++ b/include/kernel.h
@@ -0,0 +1,11 @@
+#ifndef KERNEL_H
+#define KERNEL_H
+
+#include "globals.h"
+#include "types.h"
+
+// forward declarations
+struct MajData;
+
+// function declarations
+