Package com.bayesserver.analysis
Class Association
- java.lang.Object
-
- com.bayesserver.analysis.Association
-
public final class Association extends Object
Calculates the strength between pairs of variables or sets of variables. Can be used to detect link strengths.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AssociationOutput
calculate(List<AssociationPair> pairs, Evidence evidence, AssociationOptions options)
Calculates the association/information between two sets of variables, such as those at either end of a Link.
-
-
-
Method Detail
-
calculate
public static AssociationOutput calculate(List<AssociationPair> pairs, Evidence evidence, AssociationOptions options) throws InconsistentEvidenceException
Calculates the association/information between two sets of variables, such as those at either end of a Link.- Parameters:
pairs
- The pairs to evaluate.evidence
- Any evidence.options
- Options affecting the calculations.- Returns:
- The associations for each pair.
- Throws:
InconsistentEvidenceException
-
-