pasteur.extras.synth.privbayes.implementation.greedy_bayes

Contents

pasteur.extras.synth.privbayes.implementation.greedy_bayes#

pasteur.extras.synth.privbayes.implementation.greedy_bayes(oracle, ds_attrs, n, e1, e2, theta, use_r, unbounded_dp, random_init, prefer_table=None, rake=True)[source]#

Performs the greedy bayes algorithm for variable domain data.

Supports variable e1, e2, where in the paper they are defined as e1 = b * e and e2 = (1 - b) * e, variable theta, and both mutual information and R functions.

Binary domains are not supported due to computational intractability.

Return type:

tuple[list[Node], float]