Skip to content

Commit

Permalink
revert the change to default addIntercept because it might change the…
Browse files Browse the repository at this point in the history
… behavior of existing code without warning
  • Loading branch information
mengxr committed Mar 31, 2014
1 parent 493f26f commit da25e24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ abstract class GeneralizedLinearAlgorithm[M <: GeneralizedLinearModel]

val optimizer: Optimizer

/** Whether to add intercept (default: false). */
protected var addIntercept: Boolean = false
/** Whether to add intercept (default: true). */
protected var addIntercept: Boolean = true

protected var validateData: Boolean = true

Expand Down

0 comments on commit da25e24

Please sign in to comment.