|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.ngram.bayes.DiscreteFunction pt.tumba.ngram.bayes.ProbabilityFunction pt.tumba.ngram.bayes.QBProbabilityFunction pt.tumba.ngram.bayes.FinitelyGeneratedSet pt.tumba.ngram.bayes.EpsilonContaminatedSet
public class EpsilonContaminatedSet
Field Summary | |
---|---|
(package private) double |
epsilon
|
Fields inherited from class pt.tumba.ngram.bayes.QBProbabilityFunction |
---|
lower_envelope, upper_envelope |
Fields inherited from class pt.tumba.ngram.bayes.ProbabilityFunction |
---|
bn, properties |
Fields inherited from class pt.tumba.ngram.bayes.DiscreteFunction |
---|
values, variables |
Constructor Summary | |
---|---|
EpsilonContaminatedSet(ProbabilityFunction pf,
double eps)
Constructor for an EpsilonContaminatedSet ProbabilityFunction object and given epsilon. |
Method Summary | |
---|---|
double[] |
expected_values(DiscreteFunction df)
Perform calculation of expected value. |
double[] |
posterior_expected_values(DiscreteFunction df)
Perform calculation of posterior expected value. |
ProbabilityFunction |
posterior_marginal()
Perform calculation of marginal posterior distributions for an epsilon-contaminated global neighborhood The method assumes that the values in the EpsilonContaminated are actually unnormalized --- if not, incorrect results are produced. |
Methods inherited from class pt.tumba.ngram.bayes.QBProbabilityFunction |
---|
get_lower_envelope, get_upper_envelope, print, print |
Methods inherited from class pt.tumba.ngram.bayes.ProbabilityFunction |
---|
add_property, evaluate, evaluate, expected_value, get_enumerated_properties, get_position_from_indexes, get_properties, posterior_expected_value, process_properties, remove_property, remove_property, save_xml_0_3, save_xml, set_properties, set_value, variance |
Methods inherited from class pt.tumba.ngram.bayes.DiscreteFunction |
---|
evaluate, get_index, get_indexes, get_position_from_indexes, get_value, get_values, get_variable, get_variables, memberOf, multiply, normalize_first, normalize, number_values, number_variables, same_variables, set_value, set_values, set_variable, sum_out |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
double epsilon
Constructor Detail |
---|
public EpsilonContaminatedSet(ProbabilityFunction pf, double eps)
Method Detail |
---|
public ProbabilityFunction posterior_marginal()
public double[] expected_values(DiscreteFunction df)
public double[] posterior_expected_values(DiscreteFunction df)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |