From 8e8b04d975d54c2697943ea7ca8b7f7d328e2cba Mon Sep 17 00:00:00 2001 From: Davis King Date: Tue, 15 Jul 2008 02:31:58 +0000 Subject: [PATCH] fixed grammar and comment typos --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402423 --- examples/bayes_net_from_disk_ex.cpp | 2 +- examples/svm_ex.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bayes_net_from_disk_ex.cpp b/examples/bayes_net_from_disk_ex.cpp index 27d01e431..1970e3746 100644 --- a/examples/bayes_net_from_disk_ex.cpp +++ b/examples/bayes_net_from_disk_ex.cpp @@ -51,7 +51,7 @@ int main(int argc, char** argv) typedef graph::compare_1b_c, set::compare_1b_c>::kernel_1a_c join_tree_type; join_tree_type join_tree; - // Now we need populate the join_tree with data from our bayesian network. The next to + // Now we need to populate the join_tree with data from our bayesian network. The next two // function calls do this. Explaining exactly what they do is outside the scope of this // example. Just think of them as filling join_tree with information that is useful // later on for dealing with our bayesian network. diff --git a/examples/svm_ex.cpp b/examples/svm_ex.cpp index 2dfed677e..01253effa 100644 --- a/examples/svm_ex.cpp +++ b/examples/svm_ex.cpp @@ -115,7 +115,7 @@ int main() cout << "gamma: " << gamma << " nu: " << nu; // Print out the cross validation accuracy for 3-fold cross validation using the current gamma and nu. - // cross_validate_trainer() returns a column vector. The first element of the vector is the fraction + // cross_validate_trainer() returns a row vector. The first element of the vector is the fraction // of +1 training examples correctly classified and the second number is the fraction of -1 training // examples correctly classified. cout << " cross validation accuracy: " << cross_validate_trainer(trainer, samples, labels, 3);