Skip to content

Commit

Permalink
Allow users to set initial model in logistic regression
Browse files Browse the repository at this point in the history
  • Loading branch information
GayathriMurali committed Mar 2, 2016
1 parent e42724b commit ab05aa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class LogisticRegression @Since("1.2.0") (
private var optInitialModel: Option[LogisticRegressionModel] = None

/** @group setParam */
private[spark] def setInitialModel(model: LogisticRegressionModel): this.type = {
def setInitialModel(model: LogisticRegressionModel): this.type = {
this.optInitialModel = Some(model)
this
}
Expand Down

0 comments on commit ab05aa6

Please sign in to comment.