diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2014-03-21 16:09:34 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2014-05-19 22:39:28 -0700 |
| commit | 45ebfa383f3416cd99ada5355df1e3cc5ff9b141 (patch) | |
| tree | 64502eb16f648f2965ed8c88f2fb6857d0887d02 /include/msvmmaj.h | |
| parent | work on regularization term with nonlinearity (diff) | |
| download | gensvm-45ebfa383f3416cd99ada5355df1e3cc5ff9b141.tar.gz gensvm-45ebfa383f3416cd99ada5355df1e3cc5ff9b141.zip | |
reached basic functionality of nonlinear training and grid search
Diffstat (limited to 'include/msvmmaj.h')
| -rw-r--r-- | include/msvmmaj.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/msvmmaj.h b/include/msvmmaj.h index 1dba211..3d04f30 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 @@ -65,7 +63,6 @@ struct MajModel { double *Q; double *H; double *R; - double *J; double *rho; double training_error; char *data_file; @@ -81,6 +78,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 * @@ -91,6 +90,8 @@ struct MajData { long m; long *y; double *Z; + double *RAW; + double *J; KernelType kerneltype; double *kernelparam; }; |
