code: def _compute_weights(self):
      if not self.fix_boundary:
          return 1.0
      weights = np.zeros(self.data.shape[0], dtype=np.float)
      x_test = np.linspace(
          1 / (2 * self.num_values),
          1 - (1 / (2 * self.num_values)),
          self.num_values,
          endpoint=True,
      )
      self.weights = 1.0
      pdfs = self.__call__(x_test)
      weights = 1.0 / pdfs.sum(axis=1)[:, None]
      return weights
  
imports: import numpy
  import scipy.optimize
  import ConfigSpace
  from scipy.special import erf
  from pdb import set_trace
label_desc: Use image node_id 1 for calling the WangRyzinInteger obj's underlying member method code with example usage: obj._compute_weights() and returns: weights, int