[mlpack] 246/324: Refactor test for changed API.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sun Aug 17 08:22:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit 06cca200cfac24dc34d2353939afb39c48ca806b
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Tue Jul 29 22:49:35 2014 +0000
Refactor test for changed API.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16925 9d5b8971-822b-0410-80eb-d18c1038ef23
---
src/mlpack/tests/kmeans_test.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mlpack/tests/kmeans_test.cpp b/src/mlpack/tests/kmeans_test.cpp
index f1e2e67..a79630a 100644
--- a/src/mlpack/tests/kmeans_test.cpp
+++ b/src/mlpack/tests/kmeans_test.cpp
@@ -470,7 +470,8 @@ BOOST_AUTO_TEST_CASE(SparseKMeansTest)
arma::Col<size_t> assignments;
- KMeans<> kmeans; // Default options.
+ KMeans<metric::EuclideanDistance, RandomPartition, MaxVarianceNewCluster,
+ NaiveKMeans, arma::sp_mat> kmeans; // Default options.
kmeans.Cluster(data, 2, assignments);
--
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