From 4d3da10ae516f218d33bde539a575c969d0c8423 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 21 Mar 2014 16:09:34 +0100 Subject: reached basic functionality of nonlinear training and grid search --- include/msvmmaj_train_dataset.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/msvmmaj_train_dataset.h') diff --git a/include/msvmmaj_train_dataset.h b/include/msvmmaj_train_dataset.h index 5248b4a..ad40f55 100644 --- a/include/msvmmaj_train_dataset.h +++ b/include/msvmmaj_train_dataset.h @@ -29,7 +29,7 @@ * @param lambda parameter for the MajModel * @param epsilon parameter for the MajModel * @param kerneltype parameter for the MajModel - * @param *kernel_param parameters for the MajModel + * @param *kernelparam parameters for the MajModel * @param *train_data pointer to the training data * @param *test_data pointer to the test data (if any) * @param performance performance after cross validation @@ -43,7 +43,7 @@ struct Task { double kappa; double lambda; double epsilon; - double *kernel_param; + double *kernelparam; struct MajData *train_data; struct MajData *test_data; double performance; @@ -134,4 +134,6 @@ double cross_validation(struct MajModel *model, struct MajModel *seed_model, void make_model_from_task(struct Task *task, struct MajModel *model); void copy_model(struct MajModel *from, struct MajModel *to); + +void print_progress_string(struct Task *task, long N); #endif -- cgit v1.2.3