def replace(data, replacements):
    return reduce(lambda a, kv: a.replace(*kv), replacements, data)
sigmoid(c) = 1./(1+exp(-c))
dataset/ETHPy150Open ellmetha/django-precise-bbcode/precise_bbcode/core/utils.py/replace--crossover with--dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/allocmodel/admix/OptimizerForHDPPE.py/sigmoid