aboutsummaryrefslogtreecommitdiff
path: root/src/gensvm_update.c
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2016-10-14 19:00:33 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2016-10-14 19:00:33 +0200
commit0cc025358af341b7e9757e2b9ce5eb0b09af7b2f (patch)
tree343f50cdba91361ddd0a18c554a7cd646d88aff8 /src/gensvm_update.c
parentadd sparse matrices to GenSVM and reorganize update functionality (diff)
downloadgensvm-0cc025358af341b7e9757e2b9ce5eb0b09af7b2f.tar.gz
gensvm-0cc025358af341b7e9757e2b9ce5eb0b09af7b2f.zip
documentation fixes
Diffstat (limited to 'src/gensvm_update.c')
-rw-r--r--src/gensvm_update.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gensvm_update.c b/src/gensvm_update.c
index 289f50c..59ce3a8 100644
--- a/src/gensvm_update.c
+++ b/src/gensvm_update.c
@@ -38,6 +38,7 @@
* GenModel::R to speed up the computation.
*
* @param[in] model GenModel structure with the current model
+ * @param[in] data GenData structure with the data (used for y)
* @param[in] i index of the instance for which to calculate omega
* @returns the value of omega for instance i
*
@@ -70,6 +71,7 @@ double gensvm_calculate_omega(struct GenModel *model, struct GenData *data,
* check if strictly less than 2 are nonzero. See also the @ref update_math.
*
* @param[in] model GenModel structure with the current model
+ * @param[in] data GenData structure with the data (used for y)
* @param[in] i index of the instance for which to check
* @returns whether or not we can do simple majorization
*
@@ -206,6 +208,7 @@ void gensvm_calculate_ab_simple(struct GenModel *model, long i, long j,
* returned.
*
* @param[in] model GenModel structure with the current model
+ * @param[in] data GenData structure with the data
* @param[in] i index of the instance to update
* @param[out] beta beta vector of linear coefficients (assumed to
* be allocated elsewhere, initialized here)