Infer.NET Documentation
MicrosoftResearch.Infer Namespace
Infer.NET code documentationMicrosoftResearch.Infer
Microsoft Research, Cambridge
Infer.NET root namespace
Declaration Syntax
C#Visual BasicVisual C++
namespace MicrosoftResearch.Infer
Namespace MicrosoftResearch.Infer
namespace MicrosoftResearch.Infer
Types
All TypesClassesInterfacesEnumerations
IconTypeDescription
Algorithm
Attribute which associates a specified algorithm to a targetted variable or statement. This is used for hybrid inference where different algorithms are used for different parts of the model

AlgorithmBase
Abstract base class for all algorithms

BrowserMode
Controls when the model compiler browser is shown.

CompiledAlgorithm
A compiled inference algorithm. The algorithm can be configured by setting observed values and inference executed using Execute() or Initialise()/Update(). Following inference, marginals can be extracted using Marginal().

DerivedVariable
For expert use only! When sharing a variable between multiple models (e.g. using SharedVariable) you can add this attribute to have the variable be treated as a derived variable, even if it is not derived in the submodel where it appears.

ExampleAttribute
Attribute used to label classes containing code examples. The examples browser will use this information to organise the code examples

ExpectationPropagation
The expectation propagation inference algorithm, see also http://research.microsoft.com/~minka/papers/ep/roadmap.html.

GibbsSampling
Gibbs sampling algorithm - includes block Gibbs sampling

GroupMember
Group member attribute - attached to MSL variables based on inference engine groups

HasName
Interface which allows an object to expose a name

IAlgorithm
Interface for inference algorithms

IIterativeProcess
InferenceEngine
An inference engine, used to perform inference tasks in Infer.NET.

MarginalPrototype
Specifies a prototype marginal distribution for a variable. This attribute can be used to explicitly specify the marginal distribution type for a variable in cases where it cannot be deduced by the model compiler.

MaxProductBeliefPropagation
Max product belief propagation.

ModelCompiler
A model compiler takes a model specified in MSL and compiles it into the code required to perform inference in that model, as specified by the inference engine settings and model attributes.

Output
Attribute which indicates that the output message will be recovered from the targetted variable. The output message of a variable is its marginal divided by its inbox message, and is used in situations where variables are shared between different models

PositionAttribute
Attribute which may be applied to a variable or factor indicating its display position. This attribute can be used by tools for displaying or printing factor graphs etc.

QueryType
Type of inference query

QueryTypes
Static query types

Stochastic
TraceMessages
Attribute to generate trace statements for the messages associated with the targetted variable

ValueRange
Specifies the range of values taken by an integer variable, or the dimension of a Dirichlet variable. This attribute can be used to explicitly specify the value range for a variable in cases where it cannot be deduced by the model compiler.

VariableGroup
A group of variables processed together by an inference algorithm

VariationalMessagePassing
The variational message passing algorithm, see also http://www.johnwinn.org/Research/VMP.html and http://en.wikipedia.org/wiki/Variational_message_passing.

WillBeInferred
Will be inferred attribute. This specifies that a variable will be inferred according to a particular inference type. A given algorithm supports a certain number of types which are keyed by string.