diff options
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala b/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala index 8dc7437d47..2404a69e9e 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala @@ -430,15 +430,11 @@ class ALS(@Since("1.4.0") override val uid: String) extends Estimator[ALSModel] /** @group expertSetParam */ @Since("2.0.0") - def setIntermediateStorageLevel(value: String): this.type = { - set(intermediateStorageLevel, value) - } + def setIntermediateStorageLevel(value: String): this.type = set(intermediateStorageLevel, value) /** @group expertSetParam */ @Since("2.0.0") - def setFinalStorageLevel(value: String): this.type = { - set(finalStorageLevel, value) - } + def setFinalStorageLevel(value: String): this.type = set(finalStorageLevel, value) /** * Sets both numUserBlocks and numItemBlocks to the specific value. |