From 93ec2b816300b2eb8c00714cedb936a31888ebad 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/msvmmaj.h') 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; -- cgit v1.2.3