aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-21 18:32:35 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-21 18:32:35 -0500
commit75182ca28c2b481420fe42e6fc469075ec6b4cdf (patch)
tree3c5e087525379c2e5b674c544198ffc5468e523c /include
parentKeep track of elapsed iterations in training (diff)
downloadgensvm-75182ca28c2b481420fe42e6fc469075ec6b4cdf.tar.gz
gensvm-75182ca28c2b481420fe42e6fc469075ec6b4cdf.zip
Keep a status of 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 e13deb9..72371df 100644
--- a/include/gensvm_base.h
+++ b/include/gensvm_base.h
@@ -140,6 +140,8 @@ struct GenModel {
//eigendecomposition.
long max_iter;
///< maximum number of iterations of the algorithm
+ int status;
+ ///< status of the model after training
};
/**