diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2013-10-18 15:48:59 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2013-10-18 15:48:59 +0200 |
| commit | 6d064658f8ae7ca0f42fef6dcc7f896144e9637b (patch) | |
| tree | a41e8793f71f637b68f862220ae5566f4537073d /include/MSVMMaj.h | |
| parent | allow seeding of V and added documentation (diff) | |
| download | gensvm-6d064658f8ae7ca0f42fef6dcc7f896144e9637b.tar.gz gensvm-6d064658f8ae7ca0f42fef6dcc7f896144e9637b.zip | |
restart using git
Diffstat (limited to 'include/MSVMMaj.h')
| -rw-r--r-- | include/MSVMMaj.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/MSVMMaj.h b/include/MSVMMaj.h index 021a341..5c3efb8 100644 --- a/include/MSVMMaj.h +++ b/include/MSVMMaj.h @@ -1,11 +1,12 @@ +#ifndef MSVMMAJ_H +#define MSVMMAJ_H -#define MAX_ITER 10000000 -#define MAX_LINE_LENGTH 1024 +#include "globals.h" /* Model structure */ -struct Model { +struct MajModel { int weight_idx; long K; long n; @@ -24,16 +25,19 @@ struct Model { double *H; double *R; double *rho; + double training_error; char *data_file; }; /* Data structure */ -struct Data { +struct MajData { long K; long n; long m; long *y; double *Z; }; + +#endif |
