Search Results for

    Show / Hide Table of Contents

    Class GaussianDenseMulticlassBpmTraining_EP

    Inheritance
    Object
    GaussianDenseMulticlassBpmTraining_EP
    Implements
    IGeneratedAlgorithm
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Learners.BayesPointMachineClassifierInternal
    Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
    Syntax
    public class GaussianDenseMulticlassBpmTraining_EP : IGeneratedAlgorithm

    Fields

    Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterations_WeightConstrai18_isDone

    True if Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterations_WeightConstrai18 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterations_WeightConstrai18

    Declaration
    public bool Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterations_WeightConstrai18_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterationsDecreased_Weigh17_isDone

    True if Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterationsDecreased_Weigh17 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterationsDecreased_Weigh17

    Declaration
    public bool Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_Labels_numberOfIterationsDecreased_Weigh17_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16_isDone

    True if Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16

    Declaration
    public bool Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16_isInitialised

    True if Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16

    Declaration
    public bool Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterationsDecreased_WeightConstr16_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_InstanceCount_isDone

    True if Changed_ClassCount_FeatureCount_InstanceCount has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount

    Declaration
    public bool Changed_ClassCount_FeatureCount_InstanceCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7_isDone

    True if Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7

    Declaration
    public bool Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7_isInitialised

    True if Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7

    Declaration
    public bool Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_Labels_7_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15_isDone

    True if Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15

    Declaration
    public bool Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15_isInitialised

    True if Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15

    Declaration
    public bool Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_WeightConstraints_WeightPr15_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_isDone

    True if Changed_ClassCount_FeatureCount has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount

    Declaration
    public bool Changed_ClassCount_FeatureCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3_isDone

    True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3

    Declaration
    public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3_isInitialised

    True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3

    Declaration
    public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_Labels_3_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14_isDone

    True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14

    Declaration
    public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14_isInitialised

    True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14

    Declaration
    public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightConstraints_WeightPriors_Init_Feat14_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13_isDone

    True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13

    Declaration
    public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13_isInitialised

    True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13

    Declaration
    public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_WeightPriors_Init_FeatureValues_Instance13_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_FeatureCount_WeightConstraints_isDone

    True if Changed_ClassCount_FeatureCount_WeightConstraints has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_WeightConstraints

    Declaration
    public bool Changed_ClassCount_FeatureCount_WeightConstraints_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_InstanceCount_isDone

    True if Changed_ClassCount_InstanceCount has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount

    Declaration
    public bool Changed_ClassCount_InstanceCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_InstanceCount_Labels_isDone

    True if Changed_ClassCount_InstanceCount_Labels has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_Labels

    Declaration
    public bool Changed_ClassCount_InstanceCount_Labels_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12_isDone

    True if Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12 has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12

    Declaration
    public bool Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12_isInitialised

    True if Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12

    Declaration
    public bool Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_12_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10_isDone

    True if Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10 has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10

    Declaration
    public bool Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10_isDone
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10_isInitialised

    True if Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10

    Declaration
    public bool Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_Labels_10_isInitialised
    Field Value
    Type Description
    Boolean

    Changed_ClassCount_isDone

    True if Changed_ClassCount has executed. Set this to false to force re-execution of Changed_ClassCount

    Declaration
    public bool Changed_ClassCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_FeatureCount_isDone

    True if Changed_FeatureCount has executed. Set this to false to force re-execution of Changed_FeatureCount

    Declaration
    public bool Changed_FeatureCount_isDone
    Field Value
    Type Description
    Boolean

    Changed_InstanceCount_isDone

    True if Changed_InstanceCount has executed. Set this to false to force re-execution of Changed_InstanceCount

    Declaration
    public bool Changed_InstanceCount_isDone
    Field Value
    Type Description
    Boolean

    Constant_isDone

    True if Constant has executed. Set this to false to force re-execution of Constant

    Declaration
    public bool Constant_isDone
    Field Value
    Type Description
    Boolean

    FeatureScores_B

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] FeatureScores_B
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>[]

    FeatureScores_F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] FeatureScores_F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>[]

    MaxNoisyScore_0__B

    Declaration
    public Gaussian[][][] MaxNoisyScore_0__B
    Field Value
    Type Description
    Gaussian[][][]

    MaxNoisyScore_rep_B

    Declaration
    public Gaussian[][][] MaxNoisyScore_rep_B
    Field Value
    Type Description
    Gaussian[][][]

    MaxNoisyScore_rep_B_toDef

    Buffer for ReplicateOp_Divide.Marginal<Gaussian>

    Declaration
    public Gaussian[][] MaxNoisyScore_rep_B_toDef
    Field Value
    Type Description
    Gaussian[][]

    MaxNoisyScore_rep_F

    Declaration
    public Gaussian[][][] MaxNoisyScore_rep_F
    Field Value
    Type Description
    Gaussian[][][]

    MaxNoisyScore_rep_F_marginal

    Buffer for ReplicateOp_Divide.UsesAverageConditional<Gaussian>

    Declaration
    public Gaussian[][] MaxNoisyScore_rep_F_marginal
    Field Value
    Type Description
    Gaussian[][]

    NoisyScoreDeltas_B

    Declaration
    public Gaussian[][][] NoisyScoreDeltas_B
    Field Value
    Type Description
    Gaussian[][][]

    NoisyScoreDeltas_F

    Declaration
    public Gaussian[][][] NoisyScoreDeltas_F
    Field Value
    Type Description
    Gaussian[][][]

    NoisyScores_ClassRange_ClassMaxNoisyScore_B

    Declaration
    public DistributionStructArray<Gaussian, double>[][] NoisyScores_ClassRange_ClassMaxNoisyScore_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[][]

    NoisyScores_ClassRange_ClassMaxNoisyScore_ClassRange_0__B

    Declaration
    public Gaussian[][][] NoisyScores_ClassRange_ClassMaxNoisyScore_ClassRange_0__B
    Field Value
    Type Description
    Gaussian[][][]

    NoisyScores_F

    Declaration
    public DistributionStructArray<Gaussian, double>[] NoisyScores_F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    NoisyScores_use_B

    Message from use of 'NoisyScores'

    Declaration
    public DistributionStructArray<Gaussian, double>[] NoisyScores_use_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    Scores_B

    Declaration
    public DistributionStructArray<Gaussian, double>[] Scores_B
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    Scores_F

    Declaration
    public DistributionStructArray<Gaussian, double>[] Scores_F
    Field Value
    Type Description
    DistributionStructArray<Gaussian, Double>[]

    SharedWeightsFirst_F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> SharedWeightsFirst_F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    TransposedWeights_B

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> TransposedWeights_B
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    TransposedWeights_F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> TransposedWeights_F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    TransposedWeightSums_reduced

    Declaration
    public double TransposedWeightSums_reduced
    Field Value
    Type Description
    Double

    vbool8

    The constant 'vbool8'

    Declaration
    public bool[][][] vbool8
    Field Value
    Type Description
    Boolean[][][]

    vdouble48_B

    Declaration
    public Gaussian[][][] vdouble48_B
    Field Value
    Type Description
    Gaussian[][][]

    Weights_F

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    Weights_marginal_F

    Message to marginal of 'Weights'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_marginal_F
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    Weights_rep_B

    Declaration
    public Gaussian[][][] Weights_rep_B
    Field Value
    Type Description
    Gaussian[][][]

    Weights_rep_B_toDef

    Buffer for ReplicateOp_Divide.Marginal<Gaussian>

    Declaration
    public Gaussian[][] Weights_rep_B_toDef
    Field Value
    Type Description
    Gaussian[][]

    Weights_rep_F

    Declaration
    public Gaussian[][][] Weights_rep_F
    Field Value
    Type Description
    Gaussian[][][]

    Weights_rep_F_marginal

    Buffer for ReplicateOp_Divide.UsesAverageConditional<Gaussian>

    Declaration
    public Gaussian[][] Weights_rep_F_marginal
    Field Value
    Type Description
    Gaussian[][]

    Weights_use_B

    Message from use of 'Weights'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_use_B
    Field Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    Weights_uses_B

    Messages from uses of 'Weights_use'

    Declaration
    public Gaussian[][][] Weights_uses_B
    Field Value
    Type Description
    Gaussian[][][]

    Weights_uses_F

    Messages to uses of 'Weights_use'

    Declaration
    public Gaussian[][][] Weights_uses_F
    Field Value
    Type Description
    Gaussian[][][]

    Properties

    ClassCount

    The externally-specified value of 'ClassCount'

    Declaration
    public int ClassCount { get; set; }
    Property Value
    Type Description
    Int32

    FeatureCount

    The externally-specified value of 'FeatureCount'

    Declaration
    public int FeatureCount { get; set; }
    Property Value
    Type Description
    Int32

    FeatureValues

    The externally-specified value of 'FeatureValues'

    Declaration
    public double[][] FeatureValues { get; set; }
    Property Value
    Type Description
    Double[][]

    InstanceCount

    The externally-specified value of 'InstanceCount'

    Declaration
    public int InstanceCount { get; set; }
    Property Value
    Type Description
    Int32

    Labels

    The externally-specified value of 'Labels'

    Declaration
    public int[] Labels { get; set; }
    Property Value
    Type Description
    Int32[]

    NumberOfIterationsDone

    The number of iterations done from the initial state

    Declaration
    public int NumberOfIterationsDone { get; }
    Property Value
    Type Description
    Int32

    WeightConstraints

    The externally-specified value of 'WeightConstraints'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> WeightConstraints { get; set; }
    Property Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    WeightPriors

    The externally-specified value of 'WeightPriors'

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> WeightPriors { get; set; }
    Property Value
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    Methods

    Execute(Int32)

    Update all marginals, by iterating message-passing the given number of times

    Declaration
    public void Execute(int numberOfIterations)
    Parameters
    Type Name Description
    Int32 numberOfIterations

    The total number of iterations that should be executed for the current set of observed values. If this is more than the number already done, only the extra iterations are done. If this is less than the number already done, message-passing is restarted from the beginning. Changing the observed values resets the iteration count to 0.

    GetObservedValue(String)

    Get the observed value of the specified variable.

    Declaration
    public object GetObservedValue(string variableName)
    Parameters
    Type Name Description
    String variableName

    Variable name

    Returns
    Type Description
    Object

    Marginal(String)

    Get the marginal distribution (computed up to this point) of a variable

    Declaration
    public object Marginal(string variableName)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    Returns
    Type Description
    Object

    The marginal distribution computed up to this point

    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Marginal(String, String)

    Get the query-specific marginal distribution of a variable.

    Declaration
    public object Marginal(string variableName, string query)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    String query

    QueryType name. For example, GibbsSampling answers 'Marginal', 'Samples', and 'Conditionals' queries

    Returns
    Type Description
    Object
    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Marginal<T>(String)

    Get the marginal distribution (computed up to this point) of a variable, converted to type T

    Declaration
    public T Marginal<T>(string variableName)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    Returns
    Type Description
    T

    The marginal distribution computed up to this point

    Type Parameters
    Name Description
    T

    The distribution type.

    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Marginal<T>(String, String)

    Get the query-specific marginal distribution of a variable, converted to type T

    Declaration
    public T Marginal<T>(string variableName, string query)
    Parameters
    Type Name Description
    String variableName

    Name of the variable in the generated code

    String query

    QueryType name. For example, GibbsSampling answers 'Marginal', 'Samples', and 'Conditionals' queries

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The distribution type.

    Remarks

    Execute, Update, or Reset must be called first to set the value of the marginal.

    Reset()

    Reset all messages to their initial values. Sets NumberOfIterationsDone to 0.

    Declaration
    public void Reset()

    SetObservedValue(String, Object)

    Set the observed value of the specified variable.

    Declaration
    public void SetObservedValue(string variableName, object value)
    Parameters
    Type Name Description
    String variableName

    Variable name

    Object value

    Observed value

    Update(Int32)

    Update all marginals, by iterating message-passing an additional number of times

    Declaration
    public void Update(int additionalIterations)
    Parameters
    Type Name Description
    Int32 additionalIterations

    The number of iterations that should be executed, starting from the current message state. Messages are not reset, even if observed values have changed.

    WeightsMarginal()

    Returns the marginal distribution for 'Weights' given by the current state of the message passing algorithm.

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> WeightsMarginal()
    Returns
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    The marginal distribution

    WeightsMarginalDividedByPrior()

    Returns the output message (the posterior divided by the prior) for 'Weights' given by the current state of the message passing algorithm.

    Declaration
    public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> WeightsMarginalDividedByPrior()
    Returns
    Type Description
    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>

    The output message (the posterior divided by the prior)

    Events

    ProgressChanged

    Event that is fired when the progress of inference changes, typically at the end of one iteration of the inference algorithm.

    Declaration
    public event EventHandler<ProgressChangedEventArgs> ProgressChanged
    Event Type
    Type Description
    EventHandler<ProgressChangedEventArgs>

    Implements

    IGeneratedAlgorithm
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.