From 6d064658f8ae7ca0f42fef6dcc7f896144e9637b Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 18 Oct 2013 15:48:59 +0200 Subject: restart using git --- include/MSVMMaj.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include/MSVMMaj.h') 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 -- cgit v1.2.3