diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2014-03-17 11:45:57 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2014-03-17 11:45:57 +0100 |
| commit | 93ec2b816300b2eb8c00714cedb936a31888ebad (patch) | |
| tree | d327de23122d8d4d238d3ca5557849f987bd8c2f /include/msvmmaj.h | |
| parent | write eigen to data structure (diff) | |
| download | gensvm-93ec2b816300b2eb8c00714cedb936a31888ebad.tar.gz gensvm-93ec2b816300b2eb8c00714cedb936a31888ebad.zip | |
work on regularization term with nonlinearity
Diffstat (limited to 'include/msvmmaj.h')
| -rw-r--r-- | include/msvmmaj.h | 3 |
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; |
