[mlpack-git] master,mlpack-1.0.x: Save the correct labels; thanks Anand! (4ee34f4)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:47:06 EST 2015
Repository : https://github.com/mlpack/mlpack
On branches: master,mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 4ee34f4237a22cd660bc13e1deafbb9c2d3707cf
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date: Sat May 17 13:59:14 2014 +0000
Save the correct labels; thanks Anand!
>---------------------------------------------------------------
4ee34f4237a22cd660bc13e1deafbb9c2d3707cf
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);
}
More information about the mlpack-git
mailing list