apache/spark — pull request #3325 by daniel-acuna (2014-11-17 20:15:40+00:00)
Title: Logistic regression gradient fixed

The gradient of the logistic regression was not accurate. Please see last equation on page 18 from Andrew Ng's lecture notes (http://cs229.stanford.edu/notes/cs229-notes1.pdf)