[mlpack] 03/22: Don't transpose the labels upon loading; expect that they are going to be one line per label.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Thu Apr 17 12:23:01 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 efa6d2134389c1973f136f44125c71bee0473e8c
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Mon Apr 14 19:16:48 2014 +0000
Don't transpose the labels upon loading; expect that they are going to be one
line per label.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16423 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 5620caa..12d43fe 100644
--- a/src/mlpack/methods/naive_bayes/nbc_main.cpp
+++ b/src/mlpack/methods/naive_bayes/nbc_main.cpp
@@ -52,7 +52,7 @@ int main(int argc, char* argv[])
{
// Load labels.
mat rawLabels;
- data::Load(labelsFilename, rawLabels, true);
+ data::Load(labelsFilename, rawLabels, true, false);
// Do the labels need to be transposed?
if (rawLabels.n_rows == 1)
--
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