pasteur.extras.synth.privbayes.implementation#
Description
Functions
|
Given parent set s, adds attributes x with heights h. |
|
Given parent set s, adds attribute x with height h. |
|
Calculates the entropy for the provided data. |
|
Calculates mutual information I(X,P) for the provided data using log2. |
|
Calculates the marginals and adds laplacian noise with scale noise_scale. |
|
Calculates the R(X,P) function for the provided data. |
|
|
|
|
|
|
|
Performs the greedy bayes algorithm for variable domain data. |
|
Given a set V containing hierarchical attributes (by int) and a tau score that is divided by the size of the domain, return a set of all possible combinations of attributes, such that if t > 1 there isn't an attribute that can be indexed in a higher level |
|
|
|
|
|
Provides the sensitivity for the entropy function for a given dataset size (n). |
Provides the the log2 sensitivity of the mutual information function for a given dataset size (n). |
|
Provides the the R function sensitivity for a given dataset size (n). |
|
|
Classes
|