code: def get_simple_iptw(W, propensity_score):
      IPTW = (W / propensity_score) + (1 - W) / (1 - propensity_score)
  
      return IPTW
  
imports: from matplotlib import pyplot
  import logging
  import numpy
  import pandas
  import seaborn
  from lightgbm import LGBMRegressor
  from ..inference.meta.tmle import TMLELearner
label_desc: Use image node_id 16 for calling a global function with example usage: get_simple_iptw(W, propensity_score) and returns: IPTW