Class CompoundSparseMulticlassBpmTraining_EP
Inheritance
CompoundSparseMulticlassBpmTraining_EP
Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
Syntax
public class CompoundSparseMulticlassBpmTraining_EP : IGeneratedAlgorithm
Fields
Changed_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_InstanceCount_InstanceFeatureCounts_Lab18_isDone
True if Changed_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_InstanceCount_InstanceFeatureCounts_Lab18 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_InstanceCount_InstanceFeatureCounts_Lab18
Declaration
public bool Changed_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_InstanceCount_InstanceFeatureCounts_Lab18_isDone
Field Value
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
Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11_isDone
True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11
Declaration
public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11_isDone
Field Value
Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11_isInitialised
True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11
Declaration
public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureIndexes_FeatureValues_Instan11_isInitialised
Field Value
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
Changed_ClassCount_InstanceCount_InstanceFeatureCounts_isDone
True if Changed_ClassCount_InstanceCount_InstanceFeatureCounts has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_InstanceFeatureCounts
Declaration
public bool Changed_ClassCount_InstanceCount_InstanceFeatureCounts_isDone
Field Value
Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17_isDone
True if Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17 has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17
Declaration
public bool Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17_isDone
Field Value
Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17_isInitialised
True if Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17
Declaration
public bool Changed_ClassCount_InstanceCount_InstanceFeatureCounts_numberOfIterationsDecreased_Init_FeatureCount17_isInitialised
Field Value
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
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
Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16_isDone
True if Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16 has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16
Declaration
public bool Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16_isDone
Field Value
Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16_isInitialised
True if Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16
Declaration
public bool Changed_ClassCount_InstanceCount_Labels_numberOfIterationsDecreased_Init_FeatureCount_FeatureIndexes16_isInitialised
Field Value
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
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
Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8_isDone
True if Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8 has executed. Set this to false to force re-execution of Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8
Declaration
public bool Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8_isDone
Field Value
Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8_isInitialised
True if Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8 has performed initialisation. Set this to false to force re-execution of Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8
Declaration
public bool Changed_FeatureCount_numberOfIterationsDecreased_Init_ClassCount_FeatureIndexes_FeatureValues_Instan8_isInitialised
Field Value
Changed_FeatureCount_WeightPrecisionRateConstraints_isDone
True if Changed_FeatureCount_WeightPrecisionRateConstraints has executed. Set this to false to force re-execution of Changed_FeatureCount_WeightPrecisionRateConstraints
Declaration
public bool Changed_FeatureCount_WeightPrecisionRateConstraints_isDone
Field Value
Changed_FeatureCount_ZeroFeatureValueInstanceCounts_isDone
True if Changed_FeatureCount_ZeroFeatureValueInstanceCounts has executed. Set this to false to force re-execution of Changed_FeatureCount_ZeroFeatureValueInstanceCounts
Declaration
public bool Changed_FeatureCount_ZeroFeatureValueInstanceCounts_isDone
Field Value
Changed_FeatureValues_InstanceCount_InstanceFeatureCounts_isDone
True if Changed_FeatureValues_InstanceCount_InstanceFeatureCounts has executed. Set this to false to force re-execution of Changed_FeatureValues_InstanceCount_InstanceFeatureCounts
Declaration
public bool Changed_FeatureValues_InstanceCount_InstanceFeatureCounts_isDone
Field Value
Changed_InstanceCount_InstanceFeatureCounts_isDone
True if Changed_InstanceCount_InstanceFeatureCounts has executed. Set this to false to force re-execution of Changed_InstanceCount_InstanceFeatureCounts
Declaration
public bool Changed_InstanceCount_InstanceFeatureCounts_isDone
Field Value
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
Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7_isDone
True if Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7 has executed. Set this to false to force re-execution of Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7
Declaration
public bool Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7_isDone
Field Value
Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7_isInitialised
True if Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7 has performed initialisation. Set this to false to force re-execution of Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7
Declaration
public bool Changed_numberOfIterationsDecreased_Init_ClassCount_FeatureCount_FeatureIndexes_FeatureValues_Instan7_isInitialised
Field Value
CommonWeightPrecision_F
Declaration
public Gamma CommonWeightPrecision_F
Field Value
CommonWeightPrecision_rep_B
Declaration
public Gamma[] CommonWeightPrecision_rep_B
Field Value
CommonWeightPrecision_rep_B_toDef
Buffer for ReplicateOp_Divide.Marginal<Gamma>
Declaration
public Gamma CommonWeightPrecision_rep_B_toDef
Field Value
CommonWeightPrecision_rep_F
Declaration
public Gamma[] CommonWeightPrecision_rep_F
Field Value
CommonWeightPrecision_rep_F_marginal
Buffer for ReplicateOp_Divide.UsesAverageConditional<Gamma>
Declaration
public Gamma CommonWeightPrecision_rep_F_marginal
Field Value
Constant_isDone
True if Constant has executed. Set this to false to force re-execution of Constant
Declaration
public bool Constant_isDone
Field Value
FeatureScores_B
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] FeatureScores_B
Field Value
FeatureScores_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] FeatureScores_F
Field Value
IndexedWeightPrecisionRates_B
Declaration
public DistributionRefArray<DistributionStructArray<Gamma, double>, double[]> IndexedWeightPrecisionRates_B
Field Value
IndexedWeights_B
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] IndexedWeights_B
Field Value
MaxNoisyScore_0__B
Declaration
public Gaussian[][][] MaxNoisyScore_0__B
Field Value
MaxNoisyScore_rep_B
Declaration
public Gaussian[][][] MaxNoisyScore_rep_B
Field Value
MaxNoisyScore_rep_B_toDef
Buffer for ReplicateOp_Divide.Marginal<Gaussian>
Declaration
public Gaussian[][] MaxNoisyScore_rep_B_toDef
Field Value
MaxNoisyScore_rep_F
Declaration
public Gaussian[][][] MaxNoisyScore_rep_F
Field Value
MaxNoisyScore_rep_F_marginal
Buffer for ReplicateOp_Divide.UsesAverageConditional<Gaussian>
Declaration
public Gaussian[][] MaxNoisyScore_rep_F_marginal
Field Value
NoisyScoreDeltas_B
Declaration
public Gaussian[][][] NoisyScoreDeltas_B
Field Value
NoisyScoreDeltas_F
Declaration
public Gaussian[][][] NoisyScoreDeltas_F
Field Value
NoisyScores_ClassRange_ClassMaxNoisyScore_B
Declaration
public DistributionStructArray<Gaussian, double>[][] NoisyScores_ClassRange_ClassMaxNoisyScore_B
Field Value
NoisyScores_ClassRange_ClassMaxNoisyScore_ClassRange_0__B
Declaration
public Gaussian[][][] NoisyScores_ClassRange_ClassMaxNoisyScore_ClassRange_0__B
Field Value
NoisyScores_F
Declaration
public DistributionStructArray<Gaussian, double>[] NoisyScores_F
Field Value
NoisyScores_use_B
Message from use of 'NoisyScores'
Declaration
public DistributionStructArray<Gaussian, double>[] NoisyScores_use_B
Field Value
Scores_B
Declaration
public DistributionStructArray<Gaussian, double>[] Scores_B
Field Value
Scores_F
Declaration
public DistributionStructArray<Gaussian, double>[] Scores_F
Field Value
SharedWeightPrecisionRates_B_FeatureRange__Q
Buffer for GammaFromShapeAndRateOp_Laplace.SampleAverageConditional
Declaration
public Gamma[] SharedWeightPrecisionRates_B_FeatureRange__Q
Field Value
SharedWeightPrecisionRates_F
Declaration
public DistributionStructArray<Gamma, double> SharedWeightPrecisionRates_F
Field Value
SharedWeightPrecisionRates_use_B
Message from use of 'SharedWeightPrecisionRates'
Declaration
public DistributionStructArray<Gamma, double> SharedWeightPrecisionRates_use_B
Field Value
SharedWeightPrecisionRates_uses_B
Messages from uses of 'SharedWeightPrecisionRates_use'
Declaration
public Gamma[][] SharedWeightPrecisionRates_uses_B
Field Value
Type |
Description |
Gamma[][] |
|
SharedWeightPrecisionRates_uses_F
Messages to uses of 'SharedWeightPrecisionRates_use'
Declaration
public Gamma[][] SharedWeightPrecisionRates_uses_F
Field Value
Type |
Description |
Gamma[][] |
|
SharedWeights_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> SharedWeights_F
Field Value
SharedWeights_use_B
Message from use of 'SharedWeights'
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> SharedWeights_use_B
Field Value
SharedWeightsFirst_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> SharedWeightsFirst_F
Field Value
TransposedWeights_B
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> TransposedWeights_B
Field Value
TransposedWeights_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> TransposedWeights_F
Field Value
TransposedWeightSums_reduced
Declaration
public double TransposedWeightSums_reduced
Field Value
vbool26
Declaration
public bool[][][] vbool26
Field Value
vdouble319_B
Declaration
public Gaussian[][][] vdouble319_B
Field Value
WeightPrecisionRateRates_F_reduced
Declaration
public Gamma WeightPrecisionRateRates_F_reduced
Field Value
WeightPrecisionRates_depth0_B
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisionRates_depth0_B
Field Value
WeightPrecisionRates_depth0_F
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisionRates_depth0_F
Field Value
WeightPrecisionRates_depth0_marginal_F
Message to marginal of 'WeightPrecisionRates_depth0'
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisionRates_depth0_marginal_F
Field Value
WeightPrecisionRates_depth0_uses_B
Messages from uses of 'WeightPrecisionRates_depth0'
Declaration
public DistributionStructArray<Gamma, double>[] WeightPrecisionRates_depth0_uses_B
Field Value
WeightPrecisionRates_depth0_uses_F
Messages to uses of 'WeightPrecisionRates_depth0'
Declaration
public DistributionStructArray<Gamma, double>[] WeightPrecisionRates_depth0_uses_F
Field Value
WeightPrecisionRates_rpt_B_reduced
Declaration
public Gamma WeightPrecisionRates_rpt_B_reduced
Field Value
WeightPrecisionRates_use_B
Message from use of 'WeightPrecisionRates'
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisionRates_use_B
Field Value
WeightPrecisionRates_uses_B
Messages from uses of 'WeightPrecisionRates_use'
Declaration
public Gamma[][] WeightPrecisionRates_uses_B
Field Value
Type |
Description |
Gamma[][] |
|
WeightPrecisionRates_uses_F
Messages to uses of 'WeightPrecisionRates_use'
Declaration
public Gamma[][] WeightPrecisionRates_uses_F
Field Value
Type |
Description |
Gamma[][] |
|
WeightPrecisions_B_FeatureRange__Q
Buffer for GammaRatioOp_Laplace.AAverageConditional
Declaration
public Gamma[] WeightPrecisions_B_FeatureRange__Q
Field Value
WeightPrecisions_F
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisions_F
Field Value
WeightPrecisions_rep_B
Declaration
public Gamma[][] WeightPrecisions_rep_B
Field Value
Type |
Description |
Gamma[][] |
|
WeightPrecisions_rep_B_toDef
Buffer for ReplicateOp_Divide.Marginal<Gamma>
Declaration
public Gamma[] WeightPrecisions_rep_B_toDef
Field Value
WeightPrecisions_rep_F
Declaration
public Gamma[][] WeightPrecisions_rep_F
Field Value
Type |
Description |
Gamma[][] |
|
WeightPrecisions_rep_F_marginal
Buffer for ReplicateOp_Divide.UsesAverageConditional<Gamma>
Declaration
public Gamma[] WeightPrecisions_rep_F_marginal
Field Value
Weights_depth1_B
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_depth1_B
Field Value
Weights_depth1_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_depth1_F
Field Value
Weights_depth1_F_ClassRange__marginal
Buffer for JaggedSubarrayOp<double>.ItemsAverageConditional<DistributionStructArray<Gaussian, double>, Gaussian, DistributionStructArray<Gaussian, double>>
Declaration
public DistributionStructArray<Gaussian, double>[] Weights_depth1_F_ClassRange__marginal
Field Value
Weights_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_F
Field Value
Weights_FeatureIndexes_B
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] Weights_FeatureIndexes_B
Field Value
Weights_FeatureIndexes_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]>[] Weights_FeatureIndexes_F
Field Value
Weights_marginal_F
Message to marginal of 'Weights'
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_marginal_F
Field Value
Weights_use_B
Message from use of 'Weights'
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_use_B
Field Value
Weights_uses_B
Messages from uses of 'Weights_use'
Declaration
public Gaussian[][][] Weights_uses_B
Field Value
Weights_uses_F
Messages to uses of 'Weights_use'
Declaration
public Gaussian[][][] Weights_uses_F
Field Value
Zero_reduced
Declaration
public double Zero_reduced
Field Value
Properties
ClassCount
The externally-specified value of 'ClassCount'
Declaration
public int ClassCount { get; set; }
Property Value
FeatureCount
The externally-specified value of 'FeatureCount'
Declaration
public int FeatureCount { get; set; }
Property Value
FeatureIndexes
The externally-specified value of 'FeatureIndexes'
Declaration
public int[][] FeatureIndexes { get; set; }
Property Value
Type |
Description |
Int32[][] |
|
FeatureValues
The externally-specified value of 'FeatureValues'
Declaration
public double[][] FeatureValues { get; set; }
Property Value
InstanceCount
The externally-specified value of 'InstanceCount'
Declaration
public int InstanceCount { get; set; }
Property Value
InstanceFeatureCounts
The externally-specified value of 'InstanceFeatureCounts'
Declaration
public int[] InstanceFeatureCounts { get; set; }
Property Value
Labels
The externally-specified value of 'Labels'
Declaration
public int[] Labels { get; set; }
Property Value
NumberOfIterationsDone
The number of iterations done from the initial state
Declaration
public int NumberOfIterationsDone { get; }
Property Value
WeightConstraints
The externally-specified value of 'WeightConstraints'
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> WeightConstraints { get; set; }
Property Value
WeightPrecisionRateConstraints
The externally-specified value of 'WeightPrecisionRateConstraints'
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisionRateConstraints { get; set; }
Property Value
ZeroFeatureValueInstanceCounts
The externally-specified value of 'ZeroFeatureValueInstanceCounts'
Declaration
public double[] ZeroFeatureValueInstanceCounts { get; set; }
Property Value
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
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
|
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
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.
|
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 Parameters
Name |
Description |
T |
The distribution type.
|
Reset()
Reset all messages to their initial values. Sets NumberOfIterationsDone to 0.
Declaration
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.
|
WeightPrecisionRatesMarginalDividedByPrior()
Returns the output message (the posterior divided by the prior) for 'WeightPrecisionRates' given by the current state of the
message passing algorithm.
Declaration
public DistributionStructArray<Gamma, double> WeightPrecisionRatesMarginalDividedByPrior()
Returns
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
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
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
Implements