From b7c5d533d7fa249258c7b139996176130e7a8c80 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 17 Mar 2014 11:45:57 +0100 Subject: work on regularization term with nonlinearity --- include/msvmmaj.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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; -- cgit v1.2.3