Package com.bayesserver.analysis
Class LogLikelihoodAnalysis
- java.lang.Object
-
- com.bayesserver.analysis.LogLikelihoodAnalysis
-
public final class LogLikelihoodAnalysis extends Object
Analyzes the log-likelihood for different evidence subsets.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
calculate
public static LogLikelihoodAnalysisOutput calculate(Network network, Evidence evidence, List<Variable> evidenceToAnalyse, LogLikelihoodAnalysisOptions options) throws InconsistentEvidenceException
Analyzes the log-likelihood based on subsets of evidence.- Parameters:
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.- Throws:
InconsistentEvidenceException
-
calculateStreamed
public static LogLikelihoodAnalysisBaselineOutput calculateStreamed(Network network, Evidence evidence, List<Variable> evidenceToAnalyse, LogLikelihoodAnalysisAction outputItem, LogLikelihoodAnalysisOptions options) throws InconsistentEvidenceException
Analyzes the log-likelihood based on subsets of evidence.- Parameters:
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.- Throws:
InconsistentEvidenceException
-
-