Skip to content

Instantly share code, notes, and snippets.

@ajayborra
Created November 5, 2018 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ajayborra/a520a834c46e8860d7dd722a2cbd84f3 to your computer and use it in GitHub Desktop.
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