[mlpack-git] master, mlpack-1.0.x: Remove now-unnecessary include. (bd34b3a)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:50:34 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 bd34b3a1f21a6c0005fce488765909a805f38c60
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Jul 2 19:21:33 2014 +0000
Remove now-unnecessary include.
>---------------------------------------------------------------
bd34b3a1f21a6c0005fce488765909a805f38c60
src/mlpack/tests/sa_test.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/tests/sa_test.cpp b/src/mlpack/tests/sa_test.cpp
index 97304b9..905373f 100644
--- a/src/mlpack/tests/sa_test.cpp
+++ b/src/mlpack/tests/sa_test.cpp
@@ -7,7 +7,6 @@
#include <mlpack/core.hpp>
#include <mlpack/core/optimizers/sa/sa.hpp>
#include <mlpack/core/optimizers/sa/exponential_schedule.hpp>
-#include <mlpack/core/optimizers/sa/laplace_distribution.hpp>
#include <mlpack/core/optimizers/lbfgs/test_functions.hpp>
#include <mlpack/core/metrics/ip_metric.hpp>
@@ -31,10 +30,9 @@ BOOST_AUTO_TEST_CASE(GeneralizedRosenbrockTest)
size_t dim = 50;
GeneralizedRosenbrockFunction f(dim);
- LaplaceDistribution moveDist;
ExponentialSchedule schedule(1e-5);
- SA<GeneralizedRosenbrockFunction, LaplaceDistribution, ExponentialSchedule>
- sa(f, moveDist, schedule, 1000.,1000, 100, 1e-9, 3, 20, 0.3, 0.3, 10000000);
+ SA<GeneralizedRosenbrockFunction, ExponentialSchedule>
+ sa(f, schedule, 1000.,1000, 100, 1e-9, 3, 20, 0.3, 0.3, 10000000);
arma::mat coordinates = f.GetInitialPoint();
double result = sa.Optimize(coordinates);
More information about the mlpack-git
mailing list