Skip to content

Commit

Permalink
fix not being able to set intercept in LR example
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuo Xiang committed Aug 28, 2015
1 parent 499e8e1 commit 57c9b7d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ object LogisticRegressionExample {
.setElasticNetParam(params.elasticNetParam)
.setMaxIter(params.maxIter)
.setTol(params.tol)
.setFitIntercept(params.fitIntercept)

stages += lor
val pipeline = new Pipeline().setStages(stages.toArray)
Expand Down

0 comments on commit 57c9b7d

Please sign in to comment.