[ https://issues.apache.org/jira/browse/SPARK-4887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng resolved SPARK-4887. ---------------------------------- Resolution: Fixed Fix Version/s: 1.3.0 Issue resolved by pull request 3735 [https://github.com/apache/spark/pull/3735] > Fix a bad unittest in LogisticRegressionSuite > --------------------------------------------- > > Key: SPARK-4887 > URL: https://issues.apache.org/jira/browse/SPARK-4887 > Project: Spark > Issue Type: Bug > Components: MLlib > Reporter: DB Tsai > Fix For: 1.3.0 > > > The original test doesn't make sense since if you step in, the lossSum > already NaN, and the coefficients are diverging. That's because the step size > is too large for SGD, so it doesn't work. The correct behavior is that you > should get smaller coefficients than the one without regularization. > Comparing the values using 20000.0 relative error doesn't make sense as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org