pt.tumba.ngram.bayes
Class QuasiBayesInference
java.lang.Object
pt.tumba.ngram.bayes.Inference
pt.tumba.ngram.bayes.QuasiBayesInference
public class QuasiBayesInference
- extends Inference
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
original_bn
BayesNet original_bn
list_of_local_neighborhood_results
ProbabilityFunction list_of_local_neighborhood_results
is_inference_without_local_neighborhoods
boolean is_inference_without_local_neighborhoods
QuasiBayesInference
public QuasiBayesInference(BayesNet b_n,
boolean dpc)
- Constructor for a QBInference.
transform_network
private void transform_network()
transform_probability_functions_array
private java.util.Vector transform_probability_functions_array()
transform_probability_variables_array
private void transform_probability_variables_array(java.util.Vector auxs)
inference
public void inference(java.lang.String queried_variable_name)
- Description copied from class:
Inference
- Calculation of marginal posterior distribution
for an arbitrary BayesNet.
- Overrides:
inference
in class Inference
inference
public void inference(java.lang.String[] order)
- Calculation of marginal posterior envelope using a given ordering.
- Overrides:
inference
in class Inference
do_quasi_bayesian_inference
protected void do_quasi_bayesian_inference()
inference_with_local_neighborhoods
private void inference_with_local_neighborhoods()
inference_without_local_neighborhoods
private void inference_without_local_neighborhoods()