Skip to content
Snippets Groups Projects
Commit 13901764 authored by wangfei's avatar wangfei Committed by Xiangrui Meng
Browse files

[SPARK-3296][mllib] spark-example should be run-example in head notation of...

[SPARK-3296][mllib] spark-example should be run-example in head notation of DenseKMeans and SparseNaiveBayes

`./bin/spark-example`  should be `./bin/run-example` in DenseKMeans and SparseNaiveBayes

Author: wangfei <wangfei_hello@126.com>

Closes #2193 from scwf/run-example and squashes the following commits:

207eb3a [wangfei] spark-example should be run-example
27a8999 [wangfei] ./bin/spark-example should be ./bin/run-example
parent 98ddbe6c
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ import org.apache.spark.mllib.linalg.Vectors
/**
* An example k-means app. Run with
* {{{
* ./bin/spark-example org.apache.spark.examples.mllib.DenseKMeans [options] <input>
* ./bin/run-example org.apache.spark.examples.mllib.DenseKMeans [options] <input>
* }}}
* If you use it as a template to create your own app, please use `spark-submit` to submit your app.
*/
......
......@@ -27,7 +27,7 @@ import org.apache.spark.mllib.util.MLUtils
/**
* An example naive Bayes app. Run with
* {{{
* ./bin/spark-example org.apache.spark.examples.mllib.SparseNaiveBayes [options] <input>
* ./bin/run-example org.apache.spark.examples.mllib.SparseNaiveBayes [options] <input>
* }}}
* If you use it as a template to create your own app, please use `spark-submit` to submit your app.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment