aboutsummaryrefslogtreecommitdiff
path: root/src/gensvm_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gensvm_init.c')
-rw-r--r--src/gensvm_init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gensvm_init.c b/src/gensvm_init.c
index e0f44c1..8bee73a 100644
--- a/src/gensvm_init.c
+++ b/src/gensvm_init.c
@@ -27,8 +27,14 @@
* significant improvement in the number of iterations necessary
* because the seeded model V is closer to the optimal V.
*
+ * When no seed model is supplied, the rows of V are seeded with random
+ * numbers between the inverse of the minimum and the inverse of the maximum
+ * of the corresponding column of Z. This is done to center the product of the
+ * two in the simplex space.
+ *
* @param[in] from_model GenModel from which to copy V
* @param[in,out] to_model GenModel to which V will be copied
+ * @param[in] data GenData structure with the data
*/
void gensvm_init_V(struct GenModel *from_model,
struct GenModel *to_model, struct GenData *data)