long folds
number of folds in cross validation
double coef
coef parameter for the GenModel
long ID
numeric id of the task in the queue
struct GenTask * gensvm_init_task(void)
Initialize a GenTask structure.
double performance
performance after cross validation
double gamma
gamma parameter for the GenModel
KernelType kerneltype
kerneltype parameter for the GenModel
A structure to represent the data.
struct GenData * test_data
pointer to the test data (if any)
A structure to represent a single GenSVM model.
double degree
degree parameter for the GenModel
double lambda
lambda parameter for the GenModel
A structure for a single task in the queue.
void gensvm_free_task(struct GenTask *t)
Free the GenTask struct.
long max_iter
maximum number of iterations of the algorithm
double kappa
kappa parameter for the GenModel
KernelType
type of kernel used in training
struct GenTask * gensvm_copy_task(struct GenTask *t)
Deepcopy a GenTask struct.
Header file for gensvm_base.c.
double epsilon
epsilon parameter for the GenModel
double p
p parameter for the GenModel
struct GenData * train_data
pointer to the training data
void gensvm_task_to_model(struct GenTask *task, struct GenModel *model)
Copy parameters from GenTask to GenModel.
int weight_idx
weight_idx parameter for the GenModel