Skip to content

Commit 83deee3

Browse files
committed
resolve conflicts
1 parent a6fe665 commit 83deee3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ class GeneralizedLinearRegression @Since("2.0.0") (@Since("2.0.0") override val
341341
Instance(label, weight, features)
342342
}
343343

344-
val model = if (familyAndLink.familyObj == Gaussian && familyAndLink.linkObj == Identity) {
344+
val model = if (familyAndLink.family == Gaussian && familyAndLink.link == Identity) {
345345
// TODO: Make standardizeFeatures and standardizeLabel configurable.
346346
val optimizer = new WeightedLeastSquares($(fitIntercept), $(regParam), elasticNetParam = 0.0,
347347
standardizeFeatures = true, standardizeLabel = true)

0 commit comments

Comments
 (0)