Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
actuaryzhang committed Jan 18, 2017
1 parent a6fe665 commit 83deee3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -341,7 +341,7 @@ class GeneralizedLinearRegression @Since("2.0.0") (@Since("2.0.0") override val
Instance(label, weight, features)
}

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

0 comments on commit 83deee3

Please sign in to comment.