From 7c8a5e4b2a7cff7573b1a308daf19d2dbd558a9c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 9 May 2016 20:55:24 +0200 Subject: strip whitespaces --- src/GenSVMtraintest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GenSVMtraintest.c') diff --git a/src/GenSVMtraintest.c b/src/GenSVMtraintest.c index c5f09f8..955f4fa 100644 --- a/src/GenSVMtraintest.c +++ b/src/GenSVMtraintest.c @@ -5,7 +5,7 @@ * @brief Command line interface for training and testing with a GenSVM model * * @details - * This is a command line program for training and testing on a single model + * This is a command line program for training and testing on a single model * with specified model parameters. * */ @@ -126,13 +126,13 @@ int main(int argc, char **argv) // start training gensvm_optimize(model, traindata); - // if we also have a test set, predict labels and write to predictions + // if we also have a test set, predict labels and write to predictions // to an output file if specified if (with_test) { // predict labels predy = Calloc(long, testdata->n); gensvm_predict_labels(testdata, model, predy); - + if (testdata->y != NULL) { performance = gensvm_prediction_perf(testdata, predy); note("Predictive performance: %3.2f%%\n", performance); @@ -181,7 +181,7 @@ void parse_command_line(int argc, char **argv, struct GenModel *model, double gamma = 1.0, degree = 2.0, coef = 0.0; - + GENSVM_OUTPUT_FILE = stdout; // parse options -- cgit v1.2.3