diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2013-08-06 18:16:40 +0200 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2013-08-06 18:16:40 +0200 |
| commit | 0c4ff1eeb84199e3443f5a534efdb85402c53459 (patch) | |
| tree | 0457b89b18c2c977ef7c22fc0e37c0bb1cfec461 /include/libMSVMMaj.h | |
| parent | added datasets and README (diff) | |
| download | gensvm-0c4ff1eeb84199e3443f5a534efdb85402c53459.tar.gz gensvm-0c4ff1eeb84199e3443f5a534efdb85402c53459.zip | |
Added prediction script and model i/o.
Diffstat (limited to 'include/libMSVMMaj.h')
| -rw-r--r-- | include/libMSVMMaj.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libMSVMMaj.h b/include/libMSVMMaj.h index c886ded..6db1253 100644 --- a/include/libMSVMMaj.h +++ b/include/libMSVMMaj.h @@ -1,7 +1,6 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <time.h> #include <cblas.h> #include <string.h> #include "util.h" @@ -24,3 +23,7 @@ void main_loop(struct Model *model, struct Data *data); int dposv(char UPLO, int N, int NRHS, double *A, int LDA, double *B, int LDB); void initialize_weights(struct Data *data, struct Model *model); + +void predict_labels(struct Data *data, struct Model *model, long *predy); +double prediction_perf(struct Data *data, long *predy); + |
