From db3f3c17ae1c16e3211a7319877560e41d61912d Mon Sep 17 00:00:00 2001
From: Davis King <davis@dlib.net>
Date: Sat, 10 May 2008 18:53:10 +0000
Subject: [PATCH] Added some clarifying comments to the svm example and a
 version number to the about window in the bayes net gui.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402223
---
 examples/bayes_net_gui_ex.cpp | 1 +
 examples/svm_ex.cpp           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/examples/bayes_net_gui_ex.cpp b/examples/bayes_net_gui_ex.cpp
index b4cc9e4d..70aefc30 100644
--- a/examples/bayes_net_gui_ex.cpp
+++ b/examples/bayes_net_gui_ex.cpp
@@ -626,6 +626,7 @@ on_menu_help_about (
 {
     message_box("About","This application is the GUI front end to the dlib C++ Library's\n"
                 "Bayesian Network inference utilities\n\n"
+                "Version 1.1\n\n"
                 "See http://dclib.sourceforge.net for updates");
 }
 
diff --git a/examples/svm_ex.cpp b/examples/svm_ex.cpp
index 64efb875..9bb82941 100644
--- a/examples/svm_ex.cpp
+++ b/examples/svm_ex.cpp
@@ -144,6 +144,7 @@ int main()
     // We can also train a decision function that reports a well conditioned probability instead of just a number
     // > 0 for the +1 class and < 0 for the -1 class.  An example of doing that follows:
     probabilistic_decision_function<kernel_type> learned_probabilistic_decision_function = svm_nu_train_prob(samples, labels, kernel_type(0.1), 0.1, 3);
+    // Now we have a function that returns the probability that a given sample is of the +1 class.  
 
     // print out the number of support vectors in the resulting decision function.  (it should be the same as in the one above)
     cout << "\nnumber of support vectors in our learned_probabilistic_decision_function is " 
-- 
2.18.0