code: def _normalize_weights(self, weights):
      weights = (
          np.ones(self.data.shape[0]) if weights is None else weights
      )
      weights /= weights.sum()
  
      return weights
  
file_path: auptimizer/src/aup/Proposer/hpbandster/optimizers/kde/mvkde.py
imports: import numpy
  import scipy.optimize
  import ConfigSpace
  from hpbandster.optimizers.kde.kernels import Gaussian, AitchisonAitken, WangRyzinOrdinal, WangRyzinInteger
label_desc: Use image node_id 5 for calling the MultivariateKDE obj's underlying member method code with example usage: obj._normalize_weights(weights) and returns: weights