AutomaticBounds#

from tmlt.synthetics import AutomaticBounds
class tmlt.synthetics.AutomaticBounds(groupby_columns=None, weight=1, low_column_name='low', high_column_name='high')#

Bases: object

Clamping bounds for a magnitude column is automatically set using DP.

property groupby_columns: List[str]#

List of columns that determine the groups.

property low_column_name: str#

Name of the column that contains the lower clamping bounds.

property high_column_name: str#

Name of the column that contains the upper clamping bounds.

property weight: int#

How much privacy budget should be used to discover bounds.