docstr: Method to train baselines for each pair user, item
docstr_tok: ["Method","to","train","baselines","for","each","pair","user",",","item"]
code: def train_baselines(self):
      """
      Method to train baselines for each pair user, item
  
      """
  
      self.bu = {}
      self.bi = {}
      self.bui = {}
  
      for i in range(10):
          self.compute_bi()
          self.compute_bu()
      self.compute_bui()
  
file_path: CaseRecommender/caserec/recommenders/rating_prediction/base_knn.py
imports: from caserec.recommenders.rating_prediction.base_rating_prediction import BaseRatingPrediction
label_desc: Use image node_id 3 for calling the BaseKNN obj's underlying member method code with example usage: obj.train_baselines() without return types