Source code for mmlspark.recommendation.SARModel

# Copyright (C) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE in the project root for information.


import sys

if sys.version >= '3':
    basestring = str

from pyspark.ml.param.shared import *
from pyspark.ml.common import inherit_doc
from mmlspark.core.schema.Utils import *
from mmlspark.recommendation._SARModel import _SARModel as sarModel


[docs]@inherit_doc class SARModel(sarModel):
[docs] def recommendForAllUsers(self, numItems): return self._call_java("recommendForAllUsers", numItems)