[mlpack] 115/149: Significantly shrink size of test dataset because this test was taking 10 minutes.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:15 UTC 2015


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

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 51e2f537ce8985b08450d95c27a44a9e2416f058
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Mon Nov 24 22:51:02 2014 +0000

    Significantly shrink size of test dataset because this test was taking 10
    minutes.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17403 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/allknn_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/tests/allknn_test.cpp b/src/mlpack/tests/allknn_test.cpp
index e76df2d..e0efcfb 100644
--- a/src/mlpack/tests/allknn_test.cpp
+++ b/src/mlpack/tests/allknn_test.cpp
@@ -747,9 +747,9 @@ BOOST_AUTO_TEST_CASE(SparseAllkNNKDTreeTest)
   // 70, the probability of all 70 dimensions being zero is 0.8^70 = 1.65e-7 in
   // the reference set and 0.9^70 = 6.27e-4 in the query set.
   arma::sp_mat queryDataset;
-  queryDataset.sprandu(50, 5000, 0.2);
+  queryDataset.sprandu(70, 500, 0.2);
   arma::sp_mat referenceDataset;
-  referenceDataset.sprandu(50, 8000, 0.1);
+  referenceDataset.sprandu(70, 800, 0.1);
   arma::mat denseQuery(queryDataset);
   arma::mat denseReference(referenceDataset);
 

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