[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. (1703198)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:17:28 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 1703198190dd2fbf459bf823cc3ce9bf1bb55211
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.
>---------------------------------------------------------------
1703198190dd2fbf459bf823cc3ce9bf1bb55211
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