Skip to content

Commit

Permalink
Fixed to no longer ignore delta value provided on command line
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaloppo committed Dec 3, 2014
1 parent e6ea805 commit 676e523
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object DenseGmmEM {
val data = ctx.textFile(inputFile).map(line =>
Vectors.dense(line.trim.split(' ').map(_.toDouble))).cache()

val clusters = GMMExpectationMaximization.train(data, k)
val clusters = GMMExpectationMaximization.train(data, k, tol)

for(i <- 0 until clusters.k) {
println("w=%f mu=%s sigma=\n%s\n" format (clusters.w(i), clusters.mu(i), clusters.sigma(i)))
Expand Down

0 comments on commit 676e523

Please sign in to comment.