From 051972aa116d220b07f696f90595a3cb485663ff Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 28 Jul 2010 21:48:42 +0000 Subject: [PATCH] Changed the stopping strategy for the optimization inside the train_probabilistic_decision_function() because it could potentially never stop due to large rounding error when working with very large datasets. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403793 --- dlib/svm/svm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/svm/svm.h b/dlib/svm/svm.h index d8b7b6aa2..7a0d8e7f9 100644 --- a/dlib/svm/svm.h +++ b/dlib/svm/svm.h @@ -822,7 +822,7 @@ namespace dlib matrix val; val = 0; find_min(newton_search_strategy(obj_hessian), - gradient_norm_stop_strategy(), + objective_delta_stop_strategy(), obj, obj_der, val,