aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_grid.h
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2016-12-06 16:26:01 +0100
committerGertjan van den Burg <burg@ese.eur.nl>2016-12-06 16:26:01 +0100
commita1d164e6371eaf81a8aaf0be1e1a9b16a1af43fc (patch)
tree8fb1d9784d7903fe9e0f188440e52a35c2b0c644 /include/gensvm_grid.h
parentadd msvmmaj matlab file to git (diff)
downloadgensvm-a1d164e6371eaf81a8aaf0be1e1a9b16a1af43fc.tar.gz
gensvm-a1d164e6371eaf81a8aaf0be1e1a9b16a1af43fc.zip
document undocumented elements
Diffstat (limited to 'include/gensvm_grid.h')
-rw-r--r--include/gensvm_grid.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/gensvm_grid.h b/include/gensvm_grid.h
index 24a6e9a..900a62a 100644
--- a/include/gensvm_grid.h
+++ b/include/gensvm_grid.h
@@ -66,28 +66,52 @@
*/
struct GenGrid {
TrainType traintype;
+ ///< type of training to use
KernelType kerneltype;
+ ///< type of kernel to use throughout training
long folds;
+ ///< number of folds in cross validation
long repeats;
+ ///< number of repeats to be done after the grid search to find the
+ ///< parameter set with the most consistent high performance
double percentile;
+ ///< percentile to use for the consistency repeats
long Np;
+ ///< size of the array of p values
long Nl;
+ ///< size of the array of lambda values
long Nk;
+ ///< size of the array of kappa values
long Ne;
+ ///< size of the array of epsilon values
long Nw;
+ ///< size of the array of weight_idx values
long Ng;
+ ///< size of the array of gamma values
long Nc;
+ ///< size of the array of coef values
long Nd;
+ ///< size of the array of degree values
int *weight_idxs;
+ ///< array of weight_idxs
double *ps;
+ ///< array of p values
double *lambdas;
+ ///< array of lambda values
double *kappas;
+ ///< array of kappa values
double *epsilons;
+ ///< array of epsilon values
double *gammas;
+ ///< array of gamma values
double *coefs;
+ ///< array of coef values
double *degrees;
+ ///< array of degree values
char *train_data_file;
+ ///< filename of train data file
char *test_data_file;
+ ///< filename of test data file
};
// function declarations