This is a scala implementation of the MLLib - binary classification example described here: "https://docs.databricks.com/getting-started/spark/machine-learning.html#notebook"
The medium.com article was a great place to get some inspiraiton.
https://medium.com/red-ventures-br-tech/a-journey-on-scala-ml-pipeline-part-1-of-3-my-first-ml-pipeline-21776fc13fb1