List of factors and constraints

This screen shot shows a list of factors and constraints available, along with their support when used in different algorithms.  In the list, 'S' stands for stochastic and 'D' stands for deterministic - for example (S S)->D denotes calling a factor with two stochastic arguments where the result is constrained to a fixed deterministic value. If a pattern has a * next to it, it means it does not support being in a condition block (if, case or switch). If a factor is shown as having full support but is marked with * then it is not supported in a condition block in all cases.

This list can be useful in helping you choose an inference algorithm as described in working with different inference algorithms. You can see the most up-to-date list by calling InferenceEngine.ShowFactorManager(), which will also show user-defined factors and constraints.  Factors with generic parameters are not always shown correctly in this list.

Where a factor is described as "Cannot support" it is not possible (or not known) how to support such a factor in the particular algorithm or stochasticity pattern.  If you try and use such a factor, then you will get a specific error message explaining why it is not possible to use it with that algorithm.

The background colours for each factor and algorithm give an indication of the Quality Band of the factor as shown in the key below. As there are several different message operator methods for each factor (reflecting stochastic/deterministic values), the colour codes only the maximum quality band for each factor. For example, the Factor.Product factor shows mature support, but there will be some scenarios (for example when the messages are Gaussian and Beta rather than Gaussian and Gaussian) where the quality is experimental. To see this level of detail, you can look at the quality attributes in the source code for the message operators in the Source\Factor subfolder of the installation folder, or you can look at the warning messages given by the Model compiler.

Quality Band
Mature
Stable
Preview
Experimental
Not supported

FactorManager screenshot

©2009-2013 Microsoft Corporation. All rights reserved.  Terms of Use | Trademarks | Privacy Statement