Skip to content

Commit

Permalink
fixed usage line to include optional maxIterations parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaloppo committed Dec 22, 2014
1 parent acf1fba commit 709e4bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import org.apache.spark.mllib.linalg.Vectors
object DenseGmmEM {
def main(args: Array[String]): Unit = {
if (args.length < 3) {
println("usage: DenseGmmEM <input file> <k> <convergenceTol>")
println("usage: DenseGmmEM <input file> <k> <convergenceTol> [maxIterations]")
} else {
val maxIterations = if (args.length > 3) args(3).toInt else 100
run(args(0), args(1).toInt, args(2).toDouble, maxIterations)
Expand Down

0 comments on commit 709e4bf

Please sign in to comment.