[opengm] 22/386: add couts
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository opengm.
commit e2275450ab8b6471b5eea7e45b3e1d32af0e582d
Author: joergkappes <kappes at math.uni-heidelberg.de>
Date: Wed Nov 19 15:41:19 2014 +0100
add couts
---
src/unittest/test_learning.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/unittest/test_learning.cxx b/src/unittest/test_learning.cxx
index 0b3dadb..503b75e 100644
--- a/src/unittest/test_learning.cxx
+++ b/src/unittest/test_learning.cxx
@@ -32,7 +32,11 @@ struct LearningTest {
structMaxMargin.template learn<InferenceType>(infParams);
// get the result
- const ModelParameters& learntParameters = structMaxMargin.getModelParameters();
+ const ModelParameters& learntParameters = structMaxMargin.getModelParameters();
+ std::cout << learntParameters.numberOfParameters()<<std::endl;
+ for(size_t i=0; i<learntParameters.numberOfParameters();++i)
+ std::cout << learntParameters[i] << " ";
+ std::cout << std::endl;
}
void run() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git
More information about the debian-science-commits
mailing list