MarginalAnswer#

from tmlt.synthetics import MarginalAnswer
class tmlt.synthetics.MarginalAnswer(marginal, budget, noise_scale, answer)#

Bases: object

Output from computing a weighted marginal.

marginal: WeightedMarginal#

The marginal that was computed.

budget: ApproxDPBudget#

Privacy budget used to compute the marginal.

noise_scale: float#

Scale of the noise added to the marginal.

answer: DataFrame#

The computed marginal.