Skip to content

Commit 709e4bf

Browse files
committed
fixed usage line to include optional maxIterations parameter
1 parent acf1fba commit 709e4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/scala/org/apache/spark/examples/mllib/DenseGmmEM.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import org.apache.spark.mllib.linalg.Vectors
3131
object DenseGmmEM {
3232
def main(args: Array[String]): Unit = {
3333
if (args.length < 3) {
34-
println("usage: DenseGmmEM <input file> <k> <convergenceTol>")
34+
println("usage: DenseGmmEM <input file> <k> <convergenceTol> [maxIterations]")
3535
} else {
3636
val maxIterations = if (args.length > 3) args(3).toInt else 100
3737
run(args(0), args(1).toInt, args(2).toDouble, maxIterations)

0 commit comments

Comments
 (0)