Combinators#
(See also opendp.combinators in the API reference.)
Combinator constructors use Transformations or Measurements to produce a new Transformation or Measurement.
Chaining#
Chainers are used to incrementally piece Transformations or Measurements together that represent longer computational pipelines.
Function |
From |
To |
|---|---|---|
Transformation |
Transformation |
|
Transformation |
Measurement |
|
Measurement |
Transformation |
However, OpenDP overloads >> in Python, and |> in R, as shortcuts,
so you may never need to reference these long forms directly.
For more on the uses and limitations of chaining:
Composition#
OpenDP has several compositors for making multiple releases on the same dataset:
Function |
Queries |
Privacy Loss |
|---|---|---|
Non-interactive |
Non-interactive |
|
Interactive |
Non-interactive |
|
Interactive |
Interactive |
Composition combinators can compose Measurements with ZeroConcentratedDivergence, MaxDivergence and FixedSmoothedMaxDivergence output measures,
and arbitrary input metrics and domains.
Each of these is described in more detail:
Other Topics#
There are just a couple other applications of combinators we should mention for completeness: