diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/MSVMMaj.h | 3 | ||||
| -rw-r--r-- | include/kernel.h | 11 |
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 + |
