Github user MLnick commented on a diff in the pull request:
https://github.com/apache/spark/pull/12896#discussion_r62091677
--- Diff: python/pyspark/ml/recommendation.py ---
@@ -127,27 +127,31 @@ class ALS(JavaEstimator, HasCheckpointInterval,
HasMaxIter, HasPredictionCol, Ha
"StorageLevel for ALS model factors. " +
"Default: 'MEMORY_AND_DISK'.",
typeConverter=TypeConverters.toString)
+ unknownStrategy = Param(Params._dummy(), "unknownStrategy",
+ "strategy for dealing with unknown users or
items at prediction " +
+ "time. Supported values: 'nan', 'drop'.",
--- End diff --
This is an interesting one, as I've been doing that (for the storage
params), but actually when you do `explainParams` it gets duplicated so looks
weird. So I think it may be best left out?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]