Assembly: BayesServer.Inference (in BayesServer.Inference.dll)
Version: 2.2.0.0 (2.2.0.0)
Syntax
| C# |
|---|
public interface IQueryDistributionCollection : IList<QueryDistribution>, ICollection<QueryDistribution>, IEnumerable<QueryDistribution>, IEnumerable |
| Visual Basic (Declaration) |
|---|
Public Interface IQueryDistributionCollection _ Implements IList(Of QueryDistribution), ICollection(Of QueryDistribution), _ IEnumerable(Of QueryDistribution), IEnumerable |
| Visual C++ |
|---|
public interface class IQueryDistributionCollection : IList<QueryDistribution^>, ICollection<QueryDistribution^>, IEnumerable<QueryDistribution^>, IEnumerable |
Remarks
Each distribution added, such as a Table, acts like a buffer. I.e. the values are populated by the Query(IQueryOptions, IQueryOutput) method. This means that the same distributions can be resused across multiple calls to Query(IQueryOptions, IQueryOutput), without the need to recreate the distribution each time.
It is important not to request distributions you do not need, because the computations will take longer. For example, it is common to request all marginal probabilities, P(A), P(B), P(C), ... , P(Z) given the evidence, however if you only need to know P(A) and P(B) given the evidence, then limit the query to just these distributions.
Typically the distributions requested are a number of marginal propabilities, such as P(A), P(B), P(C) etc... given the evidence, however it is also possible to request distributions over more than one variable, so we might query P(A), P(B,C) given the evidence.
If you are performing a batch of queries, there is no need to remove distributions that happen to have evidence set for a particular query.
For Dynamic Bayesian networks, times can be assoicated with distribution variables, to predict values in the future, present or past.
