[mlpack] 02/324: Save the correct labels; thanks Anand!

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:21:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit a123d9759fe870c898bc4be30b49eb93c55e3422
Author: marcus <marcus at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Sat May 17 13:59:14 2014 +0000

    Save the correct labels; thanks Anand!
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16515 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/methods/naive_bayes/nbc_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/naive_bayes/nbc_main.cpp b/src/mlpack/methods/naive_bayes/nbc_main.cpp
index 391886c..0bfa4f9 100644
--- a/src/mlpack/methods/naive_bayes/nbc_main.cpp
+++ b/src/mlpack/methods/naive_bayes/nbc_main.cpp
@@ -106,5 +106,5 @@ int main(int argc, char* argv[])
 
   // Output results.  Don't transpose: one result per line.
   const string outputFilename = CLI::GetParam<string>("output");
-  data::Save(outputFilename, results, true, false);
+  data::Save(outputFilename, rawResults, true, false);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list