API reference

andrey.data.interventions.SoftIntervention#

class andrey.data.interventions.SoftIntervention(*, shift=0.0, weight_scale=1.0, noise_scale=1.0, weights='keep')[source]#

A soft intervention: the mechanism changes and the parents still act (soft()).