aboutsummaryrefslogtreecommitdiffstats
path: root/src/classifiers/winnow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/classifiers/winnow.c')
-rw-r--r--src/classifiers/winnow.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/classifiers/winnow.c b/src/classifiers/winnow.c
index 552f054b2..29aa94899 100644
--- a/src/classifiers/winnow.c
+++ b/src/classifiers/winnow.c
@@ -105,3 +105,9 @@ winnow_learn (statfile_pool_t *pool, char *statfile, GTree *input, int in_class)
statfile_pool_unlock_file (pool, statfile);
}
+
+double
+winnow_add_result (double result, double new)
+{
+ return result + new;
+}