aboutsummaryrefslogtreecommitdiff
path: root/src/gensvm_pred.c
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2016-05-16 18:47:09 +0200
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2016-05-16 18:47:09 +0200
commit044dc5a93c33d7aa4c9c98a626890c16446a56fc (patch)
tree23cc17a595d36a35ad9cb50e3ab18c2956b5f65c /src/gensvm_pred.c
parentMove includes to header (diff)
downloadgensvm-044dc5a93c33d7aa4c9c98a626890c16446a56fc.tar.gz
gensvm-044dc5a93c33d7aa4c9c98a626890c16446a56fc.zip
major refactor of the code
Diffstat (limited to 'src/gensvm_pred.c')
-rw-r--r--src/gensvm_pred.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gensvm_pred.c b/src/gensvm_pred.c
index 15a6be6..8a9a43e 100644
--- a/src/gensvm_pred.c
+++ b/src/gensvm_pred.c
@@ -11,14 +11,6 @@
*
*/
-#include <cblas.h>
-#include <math.h>
-
-#include "globals.h"
-#include "libGenSVM.h"
-#include "gensvm.h"
-#include "gensvm_kernel.h"
-#include "gensvm_matrix.h"
#include "gensvm_pred.h"
/**
@@ -51,7 +43,7 @@ void gensvm_predict_labels(struct GenData *testdata, struct GenModel *model,
U = Calloc(double, K*(K-1));
// Generate the simplex matrix
- gensvm_simplex_gen(K, U);
+ gensvm_simplex(K, U);
// Generate the simplex space vectors
cblas_dgemm(