code: def sample_positive_items(self, user_id, num_samples=1):
      if user_id in self._index_store["positive_sets"]:
          return random.sample(
              self._index_store["positive_sets"][user_id], num_samples
          )
      else:
          return []
  
file_path: openrec/openrec/tf1/utils/dataset.py
imports: import numpy
  import random
label_desc: Use image node_id 4 for calling the Dataset obj's underlying member method code with example usage: obj.sample_positive_items(user_id, num_samples) and returns: random, list