code: def _sample_item(self, **kwargs):
          
          loc = np.random.choice(self._n_items, p = self._inst_pmf)
          weight = (1/self._n_items)/self._inst_pmf[loc]
          return loc, weight, {}
docs: Sample an item from the pool according to the instrumental
          distribution