Structure for describing the entire grid search. 
 
double * epsilons
array of epsilon values 
 
long Np
size of the array of p values 
 
long Ne
size of the array of epsilon values 
 
long Nc
size of the array of coef values 
 
double * degrees
array of degree values 
 
long Nk
size of the array of kappa values 
 
long Nw
size of the array of weight_idx values 
 
KernelType kerneltype
type of kernel to use throughout training 
 
#define Malloc(type, size)
 
void gensvm_free_grid(struct GenGrid *grid)
Free a GenGrid structure. 
 
double * lambdas
array of lambda values 
 
char * test_data_file
filename of test data file 
 
double percentile
percentile to use for the consistency repeats 
 
struct GenGrid * gensvm_init_grid(void)
Initialize a GenGrid structure. 
 
long Nl
size of the array of lambda values 
 
double * kappas
array of kappa values 
 
long Ng
size of the array of gamma values 
 
Header file for gensvm_grid.c. 
 
int * weight_idxs
array of weight_idxs 
 
long folds
number of folds in cross validation 
 
char * train_data_file
filename of train data file 
 
double * gammas
array of gamma values 
 
double * coefs
array of coef values 
 
TrainType traintype
type of training to use 
 
long Nd
size of the array of degree values 
 
double * ps
array of p values