Module: tf_privacy.restart_query

Stay organized with collections Save and categorize content based on your preferences.

Implements DPQuery interface for restarting the states of another query.

This query is used to compose with a DPQuery that has reset_state function.


class PeriodicRoundRestartIndicator: Indicator for resetting the tree state after every a few number of queries.

class PeriodicTimeRestartIndicator: Indicator for periodically resetting the tree state after a certain time.

class RestartIndicator: Base class establishing interface for restarting the tree state.

class RestartQuery: DPQuery for SumAggregationDPQuery with a reset_state function.