diff options
Diffstat (limited to 'examples')
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/src/main/python/ml/decision_tree_regression_example.py b/examples/src/main/python/ml/decision_tree_regression_example.py index b734d4974a..58d7ad921d 100644 --- a/examples/src/main/python/ml/decision_tree_regression_example.py +++ b/examples/src/main/python/ml/decision_tree_regression_example.py @@ -31,7 +31,7 @@ from pyspark.sql import SparkSession if __name__ == "__main__": spark = SparkSession\ .builder\ - .appName("decision_tree_classification_example")\ + .appName("DecisionTreeRegressionExample")\ .getOrCreate() # $example on$ diff --git a/examples/src/main/python/ml/lda_example.py b/examples/src/main/python/ml/lda_example.py index 6ca56adf3c..5ce810fccc 100644 --- a/examples/src/main/python/ml/lda_example.py +++ b/examples/src/main/python/ml/lda_example.py @@ -35,7 +35,7 @@ if __name__ == "__main__": # Creates a SparkSession spark = SparkSession \ .builder \ - .appName("PythonKMeansExample") \ + .appName("LDAExample") \ .getOrCreate() # $example on$ diff --git a/examples/src/main/python/ml/simple_params_example.py b/examples/src/main/python/ml/simple_params_example.py index 54fbc2c9d0..2f1eaa6f94 100644 --- a/examples/src/main/python/ml/simple_params_example.py +++ b/examples/src/main/python/ml/simple_params_example.py @@ -33,7 +33,7 @@ Run with: if __name__ == "__main__": spark = SparkSession \ .builder \ - .appName("SimpleTextClassificationPipeline") \ + .appName("SimpleParamsExample") \ .getOrCreate() # prepare training data. diff --git a/examples/src/main/scala/org/apache/spark/examples/ml/CountVectorizerExample.scala b/examples/src/main/scala/org/apache/spark/examples/ml/CountVectorizerExample.scala index 51aa5179fa..988d8941a4 100644 --- a/examples/src/main/scala/org/apache/spark/examples/ml/CountVectorizerExample.scala +++ b/examples/src/main/scala/org/apache/spark/examples/ml/CountVectorizerExample.scala @@ -27,7 +27,7 @@ object CountVectorizerExample { def main(args: Array[String]) { val spark = SparkSession .builder - .appName("CounterVectorizerExample") + .appName("CountVectorizerExample") .getOrCreate() // $example on$ |