From e8baad9ae430a838c34fa8173b36f92c9baa862d Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 17 Feb 2017 19:17:17 -0500 Subject: allow max_iter to be set in the model --- include/gensvm_base.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gensvm_base.h') diff --git a/include/gensvm_base.h b/include/gensvm_base.h index dee1d80..adef2a9 100644 --- a/include/gensvm_base.h +++ b/include/gensvm_base.h @@ -136,6 +136,8 @@ struct GenModel { double kernel_eigen_cutoff; ///< cutoff value for the ratio of eigenvalues in the reduced //eigendecomposition. + long max_iter; + ///< maximum number of iterations of the algorithm }; /** -- cgit v1.2.3