diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2013-08-05 17:21:36 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2013-08-05 17:21:36 +0200 |
| commit | 203ee5997bf80d4386b7b9fcd17365763c36e0ad (patch) | |
| tree | edc19cae4563f5265460569a8796d6ba8c3533cb /include/MSVMMaj.h | |
| download | gensvm-203ee5997bf80d4386b7b9fcd17365763c36e0ad.tar.gz gensvm-203ee5997bf80d4386b7b9fcd17365763c36e0ad.zip | |
initial commit
Diffstat (limited to 'include/MSVMMaj.h')
| -rw-r--r-- | include/MSVMMaj.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/MSVMMaj.h b/include/MSVMMaj.h new file mode 100644 index 0000000..fbcea8c --- /dev/null +++ b/include/MSVMMaj.h @@ -0,0 +1,40 @@ + +#define MAX_ITER 10000000 +#define MAX_LINE_LENGTH 1024 + +/* + Model structure +*/ +struct Model { + int weight_idx; + long K; + long n; + long m; + double epsilon; + double p; + double kappa; + double lambda; + double *W; + double *t; + double *V; + double *Vbar; + double *U; + double *UU; + double *Q; + double *H; + double *R; + double *rho; + double training_error; + char *data_file; +}; + +/* + Data structure +*/ +struct Data { + long K; + long n; + long m; + long *y; + double *Z; +}; |
