[ https://issues.apache.org/jira/browse/SPARK-18901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanbo Liang resolved SPARK-18901. --------------------------------- Resolution: Fixed Assignee: Miao Wang Fix Version/s: 2.2.0 > Require in LR LogisticAggregator is redundant > --------------------------------------------- > > Key: SPARK-18901 > URL: https://issues.apache.org/jira/browse/SPARK-18901 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: yuhao yang > Assignee: Miao Wang > Priority: Minor > Fix For: 2.2.0 > > > require(numFeatures == features.size, ....) > require(weight >= 0.0, ...) > in LogisticAggregator (add and merge) will never be triggered as the > dimension and weight has been checked in MultivariateOnlineSummarizer. > Given the frequent usage of function add, the redundant require should be > removed. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org