Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/19536#discussion_r145677681
--- Diff: mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala
---
@@ -589,6 +602,9 @@ class ALS(@Since("1.4.0") override val uid: String)
extends Estimator[ALSModel]
@Since("2.2.0")
def setColdStartStrategy(value: String): this.type =
set(coldStartStrategy, value)
+ @Since("2.3.0")
+ def setThreshold(value: Int): this.type = set(threshold, value)
--- End diff --
I'm not sure callers can meaningfully understand and set this. Can't we
pick a threshold programmatically?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]