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/gensvm_sv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gensvm_sv.c') diff --git a/src/gensvm_sv.c b/src/gensvm_sv.c index 787b869..c61347a 100644 --- a/src/gensvm_sv.c +++ b/src/gensvm_sv.c @@ -5,7 +5,7 @@ * @brief Calculate the number of support vectors * * @details - * The function in this file can be used to calculate the number of support + * The function in this file can be used to calculate the number of support * vectors are left in a model. * */ @@ -17,9 +17,9 @@ * @brief Calculate the number of support vectors in a model * * @details - * If an object is correctly classified, the number of classes for which the - * error q is larger than 1, is K-1 (i.e., there is no error w.r.t. any of the - * other classes). All objects for which this is not the case are thus support + * If an object is correctly classified, the number of classes for which the + * error q is larger than 1, is K-1 (i.e., there is no error w.r.t. any of the + * other classes). All objects for which this is not the case are thus support * vectors. * * @param[in] model GenModel with solution @@ -40,6 +40,6 @@ long gensvm_num_sv(struct GenModel *model, struct GenData *data) } num_sv += (num_correct < data->K - 1); } - + return num_sv; } -- cgit v1.2.3