diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2014-03-17 11:45:57 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2014-05-19 22:21:34 -0700 |
| commit | b7c5d533d7fa249258c7b139996176130e7a8c80 (patch) | |
| tree | d3643b4e665e845d61ca06c5beeffed9a0230162 /include | |
| parent | write eigen to data structure (diff) | |
| download | gensvm-b7c5d533d7fa249258c7b139996176130e7a8c80.tar.gz gensvm-b7c5d533d7fa249258c7b139996176130e7a8c80.zip | |
work on regularization term with nonlinearity
Diffstat (limited to 'include')
| -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 ec3da6f..1dba211 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 @@ -63,6 +65,7 @@ struct MajModel { double *Q; double *H; double *R; + double *J; double *rho; double training_error; char *data_file; |
