From c30548dbe7ba43a06049fbc18b4a60b164b7e2ab Mon Sep 17 00:00:00 2001 From: Davis King Date: Mon, 16 Mar 2009 03:28:41 +0000 Subject: [PATCH] Changed the kcentroid object so that its default is to keep more linearly independent vectors rather than newer vectors. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402940 --- dlib/svm/kcentroid.h | 2 +- dlib/svm/kcentroid_abstract.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlib/svm/kcentroid.h b/dlib/svm/kcentroid.h index 7ebf740fe..5ebac2b2b 100644 --- a/dlib/svm/kcentroid.h +++ b/dlib/svm/kcentroid.h @@ -71,7 +71,7 @@ namespace dlib const kernel_type& kernel_, scalar_type tolerance_ = 0.001, unsigned long max_dictionary_size_ = 1000000, - bool remove_oldest_first_ = true + bool remove_oldest_first_ = false ) : my_remove_oldest_first(remove_oldest_first_), kernel(kernel_), diff --git a/dlib/svm/kcentroid_abstract.h b/dlib/svm/kcentroid_abstract.h index f976bdf80..94d5a6dd7 100644 --- a/dlib/svm/kcentroid_abstract.h +++ b/dlib/svm/kcentroid_abstract.h @@ -58,7 +58,7 @@ namespace dlib const kernel_type& kernel_, scalar_type tolerance_ = 0.001, unsigned long max_dictionary_size_ = 1000000, - bool remove_oldest_first_ = true + bool remove_oldest_first_ = false ); /*! requires