code: def compute_weights(self):
      weights = 1.0 / self._df["state_propensity"]
      return weights
  
file_path: dowhy/dowhy/do_samplers/multivariate_weighting_sampler.py
imports: from typing import List
  import networkx
  from dowhy import EstimandType
  from dowhy.do_sampler import DoSampler
  from dowhy.utils.propensity_score import state_propensity_score
label_desc: Use image node_id 5 for calling the MultivariateWeightingSampler obj's underlying member method code with example usage: obj.compute_weights() and returns: weights