From 4d3da10ae516f218d33bde539a575c969d0c8423 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 21 Mar 2014 16:09:34 +0100 Subject: reached basic functionality of nonlinear training and grid search --- include/msvmmaj.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/msvmmaj.h') diff --git a/include/msvmmaj.h b/include/msvmmaj.h index a490427..5120087 100644 --- a/include/msvmmaj.h +++ b/include/msvmmaj.h @@ -36,8 +36,6 @@ * @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,7 +61,6 @@ struct MajModel { double *Q; double *H; double *R; - double *J; double *rho; double training_error; char *data_file; @@ -79,6 +76,8 @@ struct MajModel { * @param m number of predictors * @param *y pointer to vector of class labels * @param *Z pointer to augmented data matrix + * @param *RAW pointer to augmented raw data matrix + * @param *J pointer to regularization vector * @param kerneltype kerneltype used in MajData::Z * @param *kernelparam kernel parameters used in MajData::Z * @@ -89,6 +88,8 @@ struct MajData { long m; long *y; double *Z; + double *RAW; + double *J; KernelType kerneltype; double *kernelparam; }; -- cgit v1.2.3