docstr: This method computes a final rating for unknown pairs (user, item)
docstr_tok: ["This","method","computes","a","final","rating","for","unknown","pairs","(","user",",","item",")"]
code: def predict(self):
      """
      This method computes a final rating for unknown pairs (user, item)
  
      """
  
      if self.test_file is not None:
          for user in self.test_set["users"]:
              for item in self.test_set["feedback"][user]:
                  rui = self._predict(
                      self.user_to_user_id[user],
                      self.item_to_item_id[item],
                  )
                  self.predictions.append((user, item, rui))
      else:
          raise NotImplemented
  
file_path: CaseRecommender/caserec/recommenders/rating_prediction/base_nsvd1.py
imports: import numpy
  from caserec.recommenders.rating_prediction.base_rating_prediction import BaseRatingPrediction
label_desc: Use image node_id 5 for calling the BaseNSVD1 obj's underlying member method code with example usage: obj.predict() without return types