aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-07-12 23:37:57 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-07-12 23:37:57 +0100
commit19d98bb3d3ddf7c941c0d1e9df9e3614e0ccd68b (patch)
tree58cac0e2c30b7971d187deab2701ee70657b74a9 /include
parentRemove unused OPTFLAGS (diff)
downloadgensvm-19d98bb3d3ddf7c941c0d1e9df9e3614e0ccd68b.tar.gz
gensvm-19d98bb3d3ddf7c941c0d1e9df9e3614e0ccd68b.zip
Print training accuracyHEADmaster
Diffstat (limited to 'include')
-rw-r--r--include/gensvm_base.h2
-rw-r--r--include/gensvm_optimize.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/gensvm_base.h b/include/gensvm_base.h
index f5f205f..16b7508 100644
--- a/include/gensvm_base.h
+++ b/include/gensvm_base.h
@@ -172,6 +172,8 @@ struct GenWork {
///< n x (K-1) working matrix for the Z * V calculation
double *beta;
///< K-1 working vector for a row of the B matrix
+ long *yhat;
+ ///< n vector of predicted classes
};
// function declarations
diff --git a/include/gensvm_optimize.h b/include/gensvm_optimize.h
index d7a8248..e12f0f5 100644
--- a/include/gensvm_optimize.h
+++ b/include/gensvm_optimize.h
@@ -33,6 +33,7 @@
#include "gensvm_sv.h"
#include "gensvm_simplex.h"
+#include "gensvm_predict.h"
#include "gensvm_update.h"
#include "gensvm_zv.h"