Scala - Logistic Regression