aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_consistency.h
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2018-03-27 19:31:26 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2018-03-27 19:31:26 +0100
commit527e1e0162a287d11b92be48eb22c5f98d6e59b8 (patch)
tree8df244368fcbdf77e2a72860e879bda26c0f64d9 /include/gensvm_consistency.h
parentMajor bugfix for nonlinear GenSVM (diff)
downloadgensvm-527e1e0162a287d11b92be48eb22c5f98d6e59b8.tar.gz
gensvm-527e1e0162a287d11b92be48eb22c5f98d6e59b8.zip
Add support for predicting after grid search
With this commit the gensvm_grid executable can now compute predictions with the best model found during the grid search. The test dataset is supplied through the training file, and a command line flag is added to support saving the predictions in an output file.
Diffstat (limited to 'include/gensvm_consistency.h')
-rw-r--r--include/gensvm_consistency.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gensvm_consistency.h b/include/gensvm_consistency.h
index 61e699d..d4572ee 100644
--- a/include/gensvm_consistency.h
+++ b/include/gensvm_consistency.h
@@ -37,7 +37,7 @@
// function declarations
struct GenQueue *gensvm_top_queue(struct GenQueue *q, double percentile);
int gensvm_dsort(const void *elem1, const void *elem2);
-void gensvm_consistency_repeats(struct GenQueue *q, long repeats,
+int gensvm_consistency_repeats(struct GenQueue *q, long repeats,
double percentile);
double gensvm_percentile(double *values, long N, double p);