Spark White Paper Examples
- logdemo.scala - extracting IP addresses from error logs
- streamingdemo.scala - extending the logging demo to work in a streaming contect.
- kmeans.scala - example of training a k-means clustering model and obtaining predictions from the trained model.