[mlpack] 72/207: Smaller datasets mean faster tests.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Thu Mar 23 17:53:42 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 a45e65f6a43d6e823230217737adb170032802a6
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Aug 3 17:55:37 2016 -0400
Smaller datasets mean faster tests.
---
src/mlpack/tests/dbscan_test.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/tests/dbscan_test.cpp b/src/mlpack/tests/dbscan_test.cpp
index 7c4ab9f..e3f70db 100644
--- a/src/mlpack/tests/dbscan_test.cpp
+++ b/src/mlpack/tests/dbscan_test.cpp
@@ -19,7 +19,7 @@ BOOST_AUTO_TEST_CASE(OneClusterTest)
{
// Make sure that if we have points in the unit box, and if we set epsilon
// large enough, all points end up as in one cluster.
- arma::mat points(10, 1000, arma::fill::randu);
+ arma::mat points(10, 200, arma::fill::randu);
DBSCAN<> d(2.0, 2);
@@ -37,7 +37,7 @@ BOOST_AUTO_TEST_CASE(OneClusterTest)
*/
BOOST_AUTO_TEST_CASE(TinyEpsilonTest)
{
- arma::mat points(10, 1000, arma::fill::randu);
+ arma::mat points(10, 200, arma::fill::randu);
DBSCAN<> d(1e-50, 2);
--
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