Skip to content

Commit

Permalink
create pr
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengruifeng committed Jan 27, 2017
1 parent 4172ff8 commit 5d2987b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ class IsotonicRegression @Since("1.5.0") (@Since("1.5.0") override val uid: Stri
val isotonicRegression = new MLlibIsotonicRegression().setIsotonic($(isotonic))
val oldModel = isotonicRegression.run(instances)

if (handlePersistence) instances.unpersist()

val model = copyValues(new IsotonicRegressionModel(uid, oldModel).setParent(this))
instr.logSuccess(model)
model
Expand Down

0 comments on commit 5d2987b

Please sign in to comment.