public final class LogLikelihoodAnalysis extends Object
| Modifier and Type | Method and Description |
|---|---|
static LogLikelihoodAnalysisOutput |
calculate(Network network,
Evidence evidence,
List<Variable> evidenceToAnalyse,
LogLikelihoodAnalysisOptions options)
Analyzes the log-likelihood based on subsets of evidence.
|
static LogLikelihoodAnalysisBaselineOutput |
calculateStreamed(Network network,
Evidence evidence,
List<Variable> evidenceToAnalyse,
LogLikelihoodAnalysisAction outputItem,
LogLikelihoodAnalysisOptions options)
Analyzes the log-likelihood based on subsets of evidence.
|
public static LogLikelihoodAnalysisOutput calculate(Network network, Evidence evidence, List<Variable> evidenceToAnalyse, LogLikelihoodAnalysisOptions options) throws InconsistentEvidenceException
network - The networkevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionpublic static LogLikelihoodAnalysisBaselineOutput calculateStreamed(Network network, Evidence evidence, List<Variable> evidenceToAnalyse, LogLikelihoodAnalysisAction outputItem, LogLikelihoodAnalysisOptions options) throws InconsistentEvidenceException
network - The networkevidence - The evidence, subsets of which will be analyzed.evidenceToAnalyse - Which evidence variables to analyze.outputItem - A function which can accept the results of each evidence subset.options - Options affecting how the calculations are performed.InconsistentEvidenceExceptionCopyright © 2021. All rights reserved.