Skip to content

Commit 2dc9cb8

Browse files
committed
Update GeneralizedLinearAlgorithm.scala
make setFeatureScaling public
1 parent 3c622f8 commit 2dc9cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/regression/GeneralizedLinearAlgorithm.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ abstract class GeneralizedLinearAlgorithm[M <: GeneralizedLinearModel]
131131
/**
132132
* Set if the algorithm should use feature scaling to improve the convergence during optimization.
133133
*/
134-
private[mllib] def setFeatureScaling(useFeatureScaling: Boolean): this.type = {
134+
def setFeatureScaling(useFeatureScaling: Boolean): this.type = {
135135
this.useFeatureScaling = useFeatureScaling
136136
this
137137
}

0 commit comments

Comments
 (0)