apache/spark — pull request #1057 by naftaliharris (2014-06-11 22:48:49+00:00)
Title: Check if margin > 0, not if prob > 0.5

This avoids an unnecessary computation and also possible math overflow errors.