aboutsummaryrefslogtreecommitdiff
path: root/include/msvmmaj.h
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2014-03-17 11:45:57 +0100
committerGertjan van den Burg <burg@ese.eur.nl>2014-03-17 11:45:57 +0100
commit93ec2b816300b2eb8c00714cedb936a31888ebad (patch)
treed327de23122d8d4d238d3ca5557849f987bd8c2f /include/msvmmaj.h
parentwrite eigen to data structure (diff)
downloadgensvm-93ec2b816300b2eb8c00714cedb936a31888ebad.tar.gz
gensvm-93ec2b816300b2eb8c00714cedb936a31888ebad.zip
work on regularization term with nonlinearity
Diffstat (limited to 'include/msvmmaj.h')
-rw-r--r--include/msvmmaj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/msvmmaj.h b/include/msvmmaj.h
index b89b107..a490427 100644
--- a/include/msvmmaj.h
+++ b/include/msvmmaj.h
@@ -36,6 +36,8 @@
* @param *Q pointer to the error matrix
* @param *H pointer to the Huber weighted error matrix
* @param *R pointer to the 0-1 auxiliary matrix
+ * @param *J pointer to the diagonal matrix in the
+ * regularization term
* @param *rho pointer to the instance weight vector
* @param training_error error after training has completed
* @param *data_file pointer to the filename of the data
@@ -61,6 +63,7 @@ struct MajModel {
double *Q;
double *H;
double *R;
+ double *J;
double *rho;
double training_error;
char *data_file;