aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-21 18:32:00 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-21 18:32:00 -0500
commitfbd7f3d229d167a1bf5ea483b2d5324356b86831 (patch)
tree71e14b7c6ef858d390859978a01da4c30511070d /include
parentallow max_iter to be set in the model (diff)
downloadgensvm-fbd7f3d229d167a1bf5ea483b2d5324356b86831.tar.gz
gensvm-fbd7f3d229d167a1bf5ea483b2d5324356b86831.zip
Keep track of elapsed iterations in training
Diffstat (limited to 'include')
-rw-r--r--include/gensvm_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gensvm_base.h b/include/gensvm_base.h
index adef2a9..e13deb9 100644
--- a/include/gensvm_base.h
+++ b/include/gensvm_base.h
@@ -129,6 +129,8 @@ struct GenModel {
///< vector of instance weights
double training_error;
///< loss function value after training has finished
+ long elapsed_iter;
+ ///< number of elapsed iterations in training
char *data_file;
///< filename of the data
KernelType kerneltype;