summaryrefslogtreecommitdiffstats
path: root/src/classifiers/classifiers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/classifiers/classifiers.c')
-rw-r--r--src/classifiers/classifiers.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/classifiers/classifiers.c b/src/classifiers/classifiers.c
index 219576870..6b0554e1b 100644
--- a/src/classifiers/classifiers.c
+++ b/src/classifiers/classifiers.c
@@ -36,6 +36,13 @@ struct classifier classifiers[] = {
.classify_func = winnow_classify,
.learn_func = winnow_learn,
.weights_func = winnow_weights
+ },
+ {
+ .name = "bayes",
+ .init_func = bayes_init,
+ .classify_func = bayes_classify,
+ .learn_func = bayes_learn,
+ .weights_func = bayes_weights
}
};