double epsilon
stopping criterion for the IM algorithm.
double p
parameter for the L-p norm in the loss function
int weight_idx
which weights to use (1 = unit, 2 = group)
A structure to represent a single GenSVM model.
void gensvm_copy_model(struct GenModel *from, struct GenModel *to)
Copy model parameters between two GenModel structs.
long max_iter
maximum number of iterations of the algorithm
double kappa
parameter for the Huber hinge function
double degree
kernel parameter for poly
double coef
kernel parameter for poly and sigmoid
Header file for gensvm_copy.c.
KernelType kerneltype
type of kernel used in the model
double gamma
kernel parameter for RBF, poly, and sigmoid
double lambda
regularization parameter in the loss function