Skip to content

Instantly share code, notes, and snippets.

@ajayborra
Created November 5, 2018 19:55
Show Gist options
  • Select an option

  • Save ajayborra/a520a834c46e8860d7dd722a2cbd84f3 to your computer and use it in GitHub Desktop.

Select an option

Save ajayborra/a520a834c46e8860d7dd722a2cbd84f3 to your computer and use it in GitHub Desktop.
sparkContextSetup
// set up spark context
implicit val spark = SparkSession.builder.master("local")
.appName("California Housing Dataset Prediction").getOrCreate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment