pasteur.extras.synth.privbayes.implementation.greedy_bayes#
- pasteur.extras.synth.privbayes.implementation.greedy_bayes(oracle, attrs, e1, e2, theta, use_r, unbounded_dp, random_init, skip_zero_counts)[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]