[mlpack-git] master: Ensmallen dataset; test speedup about 25x. The cost may be the possibility of a bug going unnoticed, but given that this is a random test anyway, we're basically just slightly increasing P(fastmks is wrong | test passes), but that should be quite small anyway. (be7a480)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Sun Mar 1 17:34:30 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/23b52dbf5a3db99d0c3094c59b33f6ac3f2131aa...be7a480f74fe2c9de3b4a476776e56f24b0d131c
>---------------------------------------------------------------
commit be7a480f74fe2c9de3b4a476776e56f24b0d131c
Author: ryan <ryan at ratml.org>
Date: Sun Mar 1 17:33:09 2015 -0500
Ensmallen dataset; test speedup about 25x.
The cost may be the possibility of a bug going unnoticed, but given that this is a random test anyway, we're basically just slightly increasing P(fastmks is wrong | test passes), but that should be quite small anyway.
>---------------------------------------------------------------
be7a480f74fe2c9de3b4a476776e56f24b0d131c
src/mlpack/tests/fastmks_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/tests/fastmks_test.cpp b/src/mlpack/tests/fastmks_test.cpp
index c5b3e44..5066f45 100644
--- a/src/mlpack/tests/fastmks_test.cpp
+++ b/src/mlpack/tests/fastmks_test.cpp
@@ -95,7 +95,7 @@ BOOST_AUTO_TEST_CASE(DualTreeVsSingleTree)
{
// First create a random dataset.
arma::mat data;
- data.randu(20, 15000);
+ data.randu(8, 5000);
PolynomialKernel pk(5.0, 2.5);
FastMKS<PolynomialKernel> single(data, pk, true);
More information about the mlpack-git
mailing list