Class GaussianDenseMulticlassBpmPrediction_EP
Inheritance
GaussianDenseMulticlassBpmPrediction_EP
Assembly: Microsoft.ML.Probabilistic.Learners.Classifier.dll
Syntax
public class GaussianDenseMulticlassBpmPrediction_EP : IGeneratedAlgorithm
Fields
Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterations_WeightConstraints_Wei12_isDone
True if Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterations_WeightConstraints_Wei12 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterations_WeightConstraints_Wei12
Declaration
public bool Changed_ClassCount_FeatureCount_FeatureValues_InstanceCount_numberOfIterations_WeightConstraints_Wei12_isDone
Field Value
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
Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10_isDone
True if Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10
Declaration
public bool Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10_isDone
Field Value
Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10_isInitialised
True if Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10
Declaration
public bool Changed_ClassCount_FeatureCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureValues_WeightC10_isInitialised
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_FeatureValues_InstanceCount_WeightC6_isDone
True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6 has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6
Declaration
public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6_isDone
Field Value
Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6_isInitialised
True if Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6
Declaration
public bool Changed_ClassCount_FeatureCount_numberOfIterationsDecreased_Init_FeatureValues_InstanceCount_WeightC6_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_FeatureCount_WeightConstraints_WeightPriors_isDone
True if Changed_ClassCount_FeatureCount_WeightConstraints_WeightPriors has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_WeightConstraints_WeightPriors
Declaration
public bool Changed_ClassCount_FeatureCount_WeightConstraints_WeightPriors_isDone
Field Value
Changed_ClassCount_FeatureCount_WeightPriors_isDone
True if Changed_ClassCount_FeatureCount_WeightPriors has executed. Set this to false to force re-execution of Changed_ClassCount_FeatureCount_WeightPriors
Declaration
public bool Changed_ClassCount_FeatureCount_WeightPriors_isDone
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_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11_isDone
True if Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11 has executed. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11
Declaration
public bool Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11_isDone
Field Value
Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11_isInitialised
True if Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11 has performed initialisation. Set this to false to force re-execution of Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11
Declaration
public bool Changed_ClassCount_InstanceCount_numberOfIterationsDecreased_Init_FeatureCount_FeatureValues_WeightC11_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_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
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
Labels_F_reduced
Declaration
public Discrete Labels_F_reduced
Field Value
Labels_InstanceRange__selector_B
Declaration
public Discrete[] Labels_InstanceRange__selector_B
Field Value
Labels_InstanceRange__selector_cases_B
Declaration
public DistributionStructArray<Bernoulli, bool>[] Labels_InstanceRange__selector_cases_B
Field Value
Labels_InstanceRange__selector_cases_rep7_B
Declaration
public Bernoulli[][][] Labels_InstanceRange__selector_cases_rep7_B
Field Value
Labels_InstanceRange__selector_cases_rep7_uses_B
Messages from uses of 'Labels_InstanceRange__selector_cases_rep7'
Declaration
public Bernoulli[][][][] Labels_InstanceRange__selector_cases_rep7_uses_B
Field Value
Labels_InstanceRange__selector_cases_rep8_B_reduced
Declaration
public Bernoulli[][] Labels_InstanceRange__selector_cases_rep8_B_reduced
Field Value
Labels_InstanceRange__selector_cases_uses_B
Messages from uses of 'Labels_InstanceRange__selector_cases'
Declaration
public Bernoulli[][][] Labels_InstanceRange__selector_cases_uses_B
Field Value
Labels_InstanceRange__selector_rep_B_reduced
Declaration
public Discrete Labels_InstanceRange__selector_rep_B_reduced
Field Value
Labels_InstanceRange__selector_rep_B_toDef
Buffer for ReplicateOp_Divide.Marginal<Discrete>
Declaration
public Discrete[] Labels_InstanceRange__selector_rep_B_toDef
Field Value
Labels_InstanceRange__selector_rep_F
Declaration
public Discrete[][] Labels_InstanceRange__selector_rep_F
Field Value
Labels_InstanceRange__selector_rep_F_marginal
Buffer for ReplicateOp_Divide.UsesAverageConditional<Discrete>
Declaration
public Discrete[] Labels_InstanceRange__selector_rep_F_marginal
Field Value
Labels_InstanceRange__selector_uses_B
Messages from uses of 'Labels_InstanceRange__selector'
Declaration
public Discrete[][] Labels_InstanceRange__selector_uses_B
Field Value
Labels_InstanceRange__selector_uses_F
Messages to uses of 'Labels_InstanceRange__selector'
Declaration
public Discrete[][] Labels_InstanceRange__selector_uses_F
Field Value
Labels_marginal_F
Message to marginal of 'Labels'
Declaration
public DistributionRefArray<Discrete, int> Labels_marginal_F
Field Value
Labels_use_B
Message from use of 'Labels'
Declaration
public DistributionRefArray<Discrete, int> Labels_use_B
Field Value
Labels_uses_B
Messages from uses of 'Labels_use'
Declaration
public Discrete[][] Labels_uses_B
Field Value
Labels_uses_F
Messages to uses of 'Labels_use'
Declaration
public Discrete[][] Labels_uses_F
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__B
Declaration
public Gaussian[][][] NoisyScores__B
Field Value
NoisyScores__B_reduced
Declaration
public Gaussian[][] NoisyScores__B_reduced
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
SharedWeightsFirst_B_reduced
Declaration
public Gaussian SharedWeightsFirst_B_reduced
Field Value
vbool72_reduced
Declaration
public bool[][] vbool72_reduced
Field Value
vdouble710_B
Declaration
public Gaussian[][][] vdouble710_B
Field Value
Weights_F
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> Weights_F
Field Value
Weights_rep_B
Declaration
public Gaussian[][][] Weights_rep_B
Field Value
Weights_rep_B_toDef
Buffer for ReplicateOp_Divide.Marginal<Gaussian>
Declaration
public Gaussian[][] Weights_rep_B_toDef
Field Value
Weights_rep_F
Declaration
public Gaussian[][][] Weights_rep_F
Field Value
Weights_rep_F_marginal
Buffer for ReplicateOp_Divide.UsesAverageConditional<Gaussian>
Declaration
public Gaussian[][] Weights_rep_F_marginal
Field Value
Weights_uses_B
Messages from uses of 'Weights'
Declaration
public Gaussian[][][] Weights_uses_B
Field Value
Weights_uses_F
Messages to uses of 'Weights'
Declaration
public Gaussian[][][] Weights_uses_F
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
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
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
WeightPriors
The externally-specified value of 'WeightPriors'
Declaration
public DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> WeightPriors { 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
LabelsMarginal()
Returns the marginal distribution for 'Labels' given by the current state of the
message passing algorithm.
Declaration
public DistributionRefArray<Discrete, int> LabelsMarginal()
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
|
Remarks
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
Remarks
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
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.
|
Remarks
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.
|
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