def objGrad_c(c, *args):
  v = sigmoid(c)
  # Force away from edges 0 or 1 for numerical stability  
  #v = np.maximum(v,EPS)
  #v = np.minimum(v,1.0-EPS)

  dfdv = objGrad_v(v, *args)
  dvdc = v * (1-v)
  dfdc = dfdv * dvdc
  return dfdc

########################################################### Transform funcs
########################################################### v2c, c2v
Returns K-vector gradient of unconstrained objective function
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/allocmodel/admix/OptimizerForHDPPE.py/objGrad_c