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. |
|
|
|
|
|
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
|