[mlpack] 25/149: Refactor for different KMeans API.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:05 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 7a74d2b7ae8203867168c6e89599416914910be4
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Thu Oct 9 20:43:16 2014 +0000

    Refactor for different KMeans API.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17227 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/methods/gmm/gmm_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/gmm/gmm_main.cpp b/src/mlpack/methods/gmm/gmm_main.cpp
index c988046..4215fc6 100644
--- a/src/mlpack/methods/gmm/gmm_main.cpp
+++ b/src/mlpack/methods/gmm/gmm_main.cpp
@@ -120,7 +120,7 @@ int main(int argc, char* argv[])
     typedef KMeans<metric::SquaredEuclideanDistance, RefinedStart> KMeansType;
 
     // These are default parameters.
-    KMeansType k(1000, 1.0, metric::SquaredEuclideanDistance(),
+    KMeansType k(1000, metric::SquaredEuclideanDistance(),
         RefinedStart(samplings, percentage));
 
     // Depending on the value of 'forcePositive', we have to use different

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