Skip to content
Snippets Groups Projects
Commit 21385d02 authored by Bryan Cutler's avatar Bryan Cutler Committed by Nick Pentreath
Browse files

[SPARK-16261][EXAMPLES][ML] Fixed incorrect appNames in ML Examples

## What changes were proposed in this pull request?

Some appNames in ML examples are incorrect, mostly in PySpark but one in Scala.  This corrects the names.

## How was this patch tested?
Style, local tests

Author: Bryan Cutler <cutlerb@gmail.com>

Closes #13949 from BryanCutler/pyspark-example-appNames-fix-SPARK-16261.
parent 7ee9e39c
No related branches found
No related tags found
No related merge requests found
......@@ -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$
......
......@@ -35,7 +35,7 @@ if __name__ == "__main__":
# Creates a SparkSession
spark = SparkSession \
.builder \
.appName("PythonKMeansExample") \
.appName("LDAExample") \
.getOrCreate()
# $example on$
......
......@@ -33,7 +33,7 @@ Run with:
if __name__ == "__main__":
spark = SparkSession \
.builder \
.appName("SimpleTextClassificationPipeline") \
.appName("SimpleParamsExample") \
.getOrCreate()
# prepare training data.
......
......@@ -27,7 +27,7 @@ object CountVectorizerExample {
def main(args: Array[String]) {
val spark = SparkSession
.builder
.appName("CounterVectorizerExample")
.appName("CountVectorizerExample")
.getOrCreate()
// $example on$
......
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