class_docstr: The base class for recommendation models in Analytics Zoo.
class_docstr_tok: ["The","base","class","for","recommendation","models","in","Analytics","Zoo","."]
docstr: Recommend a number of items for each user.
  
  # Arguments
  feature_rdd: RDD of UserItemFeature.
  max_items: The number of items to be recommended to each user. Positive int.
  :return RDD of UserItemPrediction.
docstr_tok: ["Recommend","a","number","of","items","for","each","user",".","#","Arguments","feature_rdd",":","RDD","of","UserItemFeature",".","max_items",":","The","number","of","items","to","be","recommended","to","each","user",".","Positive","int",".",":","return","RDD","of","UserItemPrediction","."]
code: def recommend_for_user(self, feature_rdd, max_items):
      """
      Recommend a number of items for each user.
  
      # Arguments
      feature_rdd: RDD of UserItemFeature.
      max_items: The number of items to be recommended to each user. Positive int.
      :return RDD of UserItemPrediction.
      """
      result_rdd = callZooFunc(
          self.bigdl_type,
          "recommendForUser",
          self.value,
          self._to_tuple_rdd(feature_rdd),
          int(max_items),
      )
      return self._to_prediction_rdd(result_rdd)
  
imports: import sys
  from pyspark import RDD
  from zoo.models.common import *
  from zoo.common.utils import callZooFunc
label_desc: Use image node_id 2 for calling the Recommender obj's underlying member method code with example usage: obj.recommend_for_user(feature_rdd, max_items) and returns: self