Skip to content

Commit

Permalink
fix setParent
Browse files Browse the repository at this point in the history
  • Loading branch information
yanboliang committed Feb 9, 2016
1 parent a37e285 commit 3082686
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -211,7 +211,7 @@ class GeneralizedLinearRegression @Since("2.0.0") (@Since("2.0.0") override val
val irlsModel = optimizer.fit(instances)

val model = copyValues(new GeneralizedLinearRegressionModel(uid,
irlsModel.coefficients, irlsModel.intercept))
irlsModel.coefficients, irlsModel.intercept).setParent(this))
model
}

Expand Down

0 comments on commit 3082686

Please sign in to comment.