[mlpack] 02/20: Compare minibatch SGD with SGD not SGD with SGD.

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu May 25 20:44:08 UTC 2017


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

bap pushed a commit to branch master
in repository mlpack.

commit d2fa798777e4690af1b3965335a70fa59ff25f48
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Wed Apr 26 15:44:56 2017 +0200

    Compare minibatch SGD with SGD not SGD with SGD.
---
 src/mlpack/tests/minibatch_sgd_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/minibatch_sgd_test.cpp b/src/mlpack/tests/minibatch_sgd_test.cpp
index d455d30..3e5d451 100644
--- a/src/mlpack/tests/minibatch_sgd_test.cpp
+++ b/src/mlpack/tests/minibatch_sgd_test.cpp
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(SGDSimilarityTest)
   arma::mat msCoord = f.GetInitialPoint();
 
   const double sResult = s.Optimize(sCoord);
-  const double msResult = s.Optimize(msCoord);
+  const double msResult = ms.Optimize(msCoord);
 
   BOOST_REQUIRE_CLOSE(sResult, msResult, 1e-8);
   BOOST_REQUIRE_CLOSE(sCoord[0], msCoord[0], 1e-8);

-- 
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