Skip to content

Instantly share code, notes, and snippets.

@bfraiche
Created April 2, 2019 17:42
Show Gist options
  • Save bfraiche/67013d49c8ff1c2e7010f0fbcf5cc9bc to your computer and use it in GitHub Desktop.
Save bfraiche/67013d49c8ff1c2e7010f0fbcf5cc9bc to your computer and use it in GitHub Desktop.
This gist contains code snippets for my blogpost: 'Random Forest with Python and Spark ML'
(trainingData, testData) = df.randomSplit([0.8, 0.2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment