aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_task.h
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-17 19:17:17 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2017-02-17 19:17:17 -0500
commite8baad9ae430a838c34fa8173b36f92c9baa862d (patch)
tree646574b2d6ee594b600c74d1e93ae2c0fbe898b2 /include/gensvm_task.h
parentBump version (diff)
downloadgensvm-e8baad9ae430a838c34fa8173b36f92c9baa862d.tar.gz
gensvm-e8baad9ae430a838c34fa8173b36f92c9baa862d.zip
allow max_iter to be set in the model
Diffstat (limited to 'include/gensvm_task.h')
-rw-r--r--include/gensvm_task.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gensvm_task.h b/include/gensvm_task.h
index a791262..77db463 100644
--- a/include/gensvm_task.h
+++ b/include/gensvm_task.h
@@ -75,6 +75,8 @@ struct GenTask {
///< coef parameter for the GenModel
double degree;
///< degree parameter for the GenModel
+ long max_iter;
+ ///< maximum number of iterations of the algorithm
struct GenData *train_data;
///< pointer to the training data
struct GenData *test_data;