Skip to content

Commit f87ae71

Browse files
committed
mention step size change
1 parent 2d4e00e commit f87ae71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/mllib-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ In the `spark.mllib` package, there were several breaking changes. The first ch
107107
* In `DecisionTree`, the deprecated class method `train` has been removed. (The object/static `train` methods remain.)
108108
* In `Strategy`, the `checkpointDir` parameter has been removed. Checkpointing is still supported, but the checkpoint directory must be set before calling tree and tree ensemble training.
109109
* `PythonMLlibAPI` (the interface between Scala/Java and Python for MLlib) was a public API but is now private, declared `private[python]`. This was never meant for external use.
110+
* In linear regression (including Lasso and ridge regression), we scaled the squared loss by 0.5. So in order to produce the same result as in 1.2, the step size you chose needs to be scaled by 2.
110111

111112
## Previous Spark Versions
112113

0 commit comments

Comments
 (0)