Skip to content

Commit

Permalink
[MLlib][TYPO] Replace LeastSquaresAggregator with LogisticAggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
moutai committed Feb 12, 2017
1 parent bc0a0e6 commit 669820c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ private class LogisticAggregator(
*/
def merge(other: LogisticAggregator): this.type = {
require(numFeatures == other.numFeatures, s"Dimensions mismatch when merging with another " +
s"LeastSquaresAggregator. Expecting $numFeatures but got ${other.numFeatures}.")
s"LogisticAggregator. Expecting $numFeatures but got ${other.numFeatures}.")

if (other.weightSum != 0.0) {
weightSum += other.weightSum
Expand Down

0 comments on commit 669820c

Please sign in to comment.